|
Previous Page |
Solar_Test |
Next Page |
assertProperty()
public
bool
assertProperty (
object $object,
string $property,
string $test,
mixed $expect default NULL
)
Asserts that an object property meets criteria.
Parameters
- (object)
$object: The object to test. - (string)
$property: The property to inspect. - (string)
$test: The Solar_Test_Assert method to call. - (mixed)
$expect: The expected result from the test method.
Returns
- (bool) The assertion result.
Description
Asserts that an object property meets criteria.
The object property may be public, protected, or private.
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- _exception()
- _export()
- _ksort()
- apiVersion()
- assertEquals()
- assertFalse()
- assertInstance()
- assertNotEquals()
- assertNotFalse()
- assertNotInstance()
- assertNotNull()
- assertNotRegex()
- assertNotSame()
- assertNotTrue()
- assertNull()
- assertProperty()
- assertRegex()
- assertSame()
- assertTrue()
- dump()
- error()
- fail()
- getAssertCount()
- locale()
- resetAssertCount()
- setup()
- skip()
- teardown()
- todo()