PHP Class FalseExpectation, simpletest

Inheritance: extends SimpleExpectation
Show file Open project: simpletest/simpletest

Public Methods

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

Method Details

test() public method

Tests the expectation.
public test ( mixed $compare ) : boolean
$compare mixed Should be false.
return boolean True on match.

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.