public function testExpectsString_Negative() { function expectsStringNegativeTest($arg1, $arg2) { expects(string, $arg2, 2); } $this->assertNull(expectsStringNegativeTest(42, 42)); }