public function testExpectsInt_Positive() { function expectsIntPositiveTest($arg1, $arg2) { expects(int, $arg2); } $this->assertNull(expectsIntPositiveTest(true, 1)); $this->assertNull(expectsIntPositiveTest('hello world', 0)); }