Class AnythingExpectation

Description

A wildcard expectation always matches.

Located in /expectation.php (line 104)

SimpleExpectation
   |
   --AnythingExpectation
Method Summary
 boolean test (mixed $compare)
 string testMessage (mixed $compare)
Variables

Inherited Variables

Inherited from SimpleExpectation

SimpleExpectation::$dumper
Methods
test (line 112)

Tests the expectation. Always true.

  • return: True.
  • access: public
boolean test (mixed $compare)
  • mixed $compare: Ignored.

Redefinition of:
SimpleExpectation::test()
Tests the expectation. True if correct.
testMessage (line 123)

Returns a human readable test message.

  • return: Description of success or failure.
  • access: public
string testMessage (mixed $compare)
  • mixed $compare: Comparison value.

Redefinition of:
SimpleExpectation::testMessage()
Returns a human readable test message.

Inherited Methods

Inherited From SimpleExpectation

 SimpleExpectation::__construct()
 SimpleExpectation::getDumper()
 SimpleExpectation::isExpectation()
 SimpleExpectation::overlayMessage()
 SimpleExpectation::test()
 SimpleExpectation::testMessage()

Documentation generated on Sun, 31 Oct 2010 16:31:26 -0500 by phpDocumentor 1.4.3