function deprecatedExpectsWithCustomExceptionTest($arg1) { expectsBool($arg1, 1, new \BadFunctionCallException('Function NsplTest\\deprecatedExpectsWithCustomExceptionTest() does not like the given input')); }