PATH:
home
/
lab2454c
/
aficb.com
/
vendor
/
hamcrest
/
hamcrest-php
/
tests
/
Hamcrest
/
Core
<?php namespace Hamcrest\Core; class IsNullTest extends \Hamcrest\AbstractMatcherTest { protected function createMatcher() { return \Hamcrest\Core\IsNull::nullValue(); } public function testEvaluatesToTrueIfArgumentIsNull() { assertThat(null, nullValue()); assertThat(self::ANY_NON_NULL_ARGUMENT, not(nullValue())); assertThat(self::ANY_NON_NULL_ARGUMENT, notNullValue()); assertThat(null, not(notNullValue())); } }
[-] IsNotTest.php
[edit]
[-] IsSameTest.php
[edit]
[-] DescribedAsTest.php
[edit]
[+]
..
[-] IsTest.php
[edit]
[-] AnyOfTest.php
[edit]
[-] IsInstanceOfTest.php
[edit]
[-] IsAnythingTest.php
[edit]
[-] SetTest.php
[edit]
[-] IsEqualTest.php
[edit]
[-] AllOfTest.php
[edit]
[-] CombinableMatcherTest.php
[edit]
[-] IsCollectionContainingTest.php
[edit]
[-] IsIdenticalTest.php
[edit]
[-] SampleBaseClass.php
[edit]
[-] IsNullTest.php
[edit]
[-] HasToStringTest.php
[edit]
[-] EveryTest.php
[edit]
[-] SampleSubClass.php
[edit]
[-] IsTypeOfTest.php
[edit]