public function testExpectsOptionalInt_Negative() { function expectsOptionalIntNegativeTest($arg1) { expectsOptional([int], $arg1); } $this->assertNull(expectsOptionalIntNegativeTest('1')); }