Вход Регистрация
Файл: gapps/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Core/IsNullTest.php
Строк: 18
<?php
namespace HamcrestCore;

class 
IsNullTest extends HamcrestAbstractMatcherTest
{

    protected function 
createMatcher()
    {
        return 
HamcrestCoreIsNull::nullValue();
    }

    public function 
testEvaluatesToTrueIfArgumentIsNull()
    {
        
assertThat(nullnullValue());
        
assertThat(self::ANY_NON_NULL_ARGUMENTnot(nullValue()));

        
assertThat(self::ANY_NON_NULL_ARGUMENTnotNullValue());
        
assertThat(nullnot(notNullValue()));
    }
}
Онлайн: 1
Реклама