public function testExpectsInt_Negative() { function expectsIntNegativeTest($arg1, $arg2) { expects(int, $arg2); } $this->assertNull(expectsIntNegativeTest('hello world', '1')); }