Solar_Test::assertNotSame()

public bool Solar_Test::assertNotSame ( mixed $actual , mixed $expect )

Asserts that two variables are not the same type and value.

Parameters

  • (mixed) $actual: The variable to test.

  • (mixed) $expect: The non-expected result.

Returns

  • (bool) The assertion result.

Description

Asserts that two variables are not the same type and value.

When used on objects, asserts the two variables are not references to the same object.



Local