Exemple #1
0
 /**
  * @covers Respect\Rest\Routes\Instance::getReflection
  */
 function test_getReflection_should_return_instance_of_current_routed_class()
 {
     $route = new Instance('any', '/', new \DateTime());
     $refl = $route->getReflection('format');
     $this->assertInstanceOf('ReflectionMethod', $refl);
 }