AnythingExpectation::test PHP 메소드

test() 공개 메소드

Tests the expectation. Always true.
public test ( mixed $compare ) : boolean
$compare mixed Ignored.
리턴 boolean True.
    public function test($compare)
    {
        return true;
    }

Usage Example

예제 #1
0
 function testSimpleInteger()
 {
     $expectation = new AnythingExpectation();
     $this->assertTrue($expectation->test(33));
     $this->assertTrue($expectation->test(false));
     $this->assertTrue($expectation->test(null));
 }
All Usage Examples Of AnythingExpectation::test
AnythingExpectation