Solar_Test::assertInstance()
public
bool
Solar_Test::assertInstance
( object $actual
, string $expect
)
Asserts that a object is an instance of a class.
Parameters
(object)
$actual
: The object to test.(string)
$expect
: The expected class name.
Returns
(bool) The assertion result.
Description
Asserts that a object is an instance of a class.