public function testNoException()
{
eval("function testNoException() { }");
$spy = new Spy(__NAMESPACE__, "testNoException");
$spy->enable();
testNoException();
$invocation = $spy->getInvocations()[0];
$this->assertFalse($invocation->isExceptionThrown());
$this->assertNull($invocation->getException());
}