Previous Page
assertNotTrue()

Solar_Test
assertNull()

Next Page
assertProperty()

assertNull()

public bool assertNull ( mixed $actual )

Asserts that a variable is PHP null.

Parameters

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

Returns

  • (bool) The assertion result.

Description

Asserts that a variable is PHP null.