public function testExpectsFloat_Negative() { function expectsFloatNegativeTest($arg1, $arg2) { expects(float, $arg1); } $this->assertNull(expectsFloatNegativeTest('hello', 'world')); }