Example #1
0
 /**
  * @expectedException RuntimeException
  * @expectedExceptionMessage A route named "test" does not exist.
  */
 public function testGetRouteThrowsExceptionWhenRouteDoesNotExist()
 {
     $instance = new Collection();
     $instance->getRoute('test');
 }