public function testNoException()
 {
     $test = new ThrowNoExceptionTestCase('test');
     $test->setExpectedException('Exception');
     $result = $test->run();
     $this->assertEquals(1, $result->failureCount());
     $this->assertEquals(1, count($result));
 }
 public function testNoException()
 {
     $test = new ThrowNoExceptionTestCase('test');
     $test->expectException(RuntimeException::class);
     $result = $test->run();
     $this->assertEquals(1, $result->failureCount());
     $this->assertEquals(1, count($result));
 }