TraversableContains example


trait PolyfillAssertTrait
{
    /** * @param iterable $haystack * @param string $message * * @return void */
    public static function assertContainsEquals($needle$haystack$message = '')
    {
        $constraint = new TraversableContains($needle, false, false);
        static::assertThat($haystack$constraint$message);
    }

    /** * @param iterable $haystack * @param string $message * * @return void */
    public static function assertNotContainsEquals($needle$haystack$message = '')
    {
        
Home | Imprint | This part of the site doesn't use cookies.