|
Previous Page |
Solar_Test |
Next Page |
assertInstance()
public
bool
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.
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()