Test to see if a value is an expectation object. A useful utility method.
public static isExpectation ( mixed $expectation ) : boolean | ||
$expectation | mixed | Hopefully an Expectation class. |
return | boolean | True if descended from this class. |