public function testAssertNotExceptionPassesWithWrongException() { $this->assertTrue($this->test->assertNotException('FooException', function () { throw new \Exception('Foo'); })); }