Solar_Test::assertNotInstance()

public bool Solar_Test::assertNotInstance ( object $actual , string $expect )

Asserts that a object is not an instance of a class.

Parameters

  • (object) $actual: The object to test.

  • (string) $expect: The non-expected class name.

Returns

  • (bool) The assertion result.

Description

Asserts that a object is not an instance of a class.



Local