PHP Class AnythingExpectation, simpletest

Inheritance: extends SimpleExpectation
Show file Open project: simpletest/simpletest Class Usage Examples

Public Methods

Method Description
test ( mixed $compare ) : boolean Tests the expectation. Always true.
testMessage ( mixed $compare ) : string Returns a human readable test message.

Method Details

test() public method

Tests the expectation. Always true.
public test ( mixed $compare ) : boolean
$compare mixed Ignored.
return boolean True.

testMessage() public method

Returns a human readable test message.
public testMessage ( mixed $compare ) : string
$compare mixed Comparison value.
return string Description of success or failure.