I'm just looking into unit testing with PHPUnit and understand basic assertion tests such as:

PHP Code:
$this->assertInternalType('int'$expected_int_value);
$this->assetEquals($one_value$another_value); 
However, I want to be able to make an assertion where a value can equal an internal type of string OR null.

I've seen there's a logicalOr() method available but aren't sure how to use it.

If someone could point me in the right direction that would be great!