public function testDeprecatedExpectsWithCustomException()
{
function deprecatedExpectsWithCustomExceptionTest($arg1)
{
expectsBool($arg1, 1, new \BadFunctionCallException('Function NsplTest\\deprecatedExpectsWithCustomExceptionTest() does not like the given input'));
}
$this->assertNull(deprecatedExpectsWithCustomExceptionTest('true'));
}