public function testExpectsString_Positive() { function expectsStringPositiveTest($arg1, $arg2) { expects(string, $arg2, 2); } $this->assertNull(expectsStringPositiveTest(42, 'answer')); }