Method | Description | |
---|---|---|
__construct ( $name, $expected ) | Sets the value to compare against. | |
test ( object $actual ) : boolean | Tests the expectation. True if the property value is identical. | |
testMessage ( $actual ) : string | Returns a human readable test message. | |
unmangle ( string $mangled ) : string | Removes crud from property name after it's been converted to an array. |
Method | Description | |
---|---|---|
getPrivatePropertyNoMatterWhat ( string $name, object $object ) : mixed | Extracts a private member's value when reflection won't play ball. | |
getProperty ( string $name, object $object ) : mixed | Extracts the member value even if private using reflection. |
public __construct ( $name, $expected ) |
public testMessage ( $actual ) : string | ||
return | string | Description of success or failure. |