public function testControllerMethodIsRoutable() { $method = new ReflectionMethod('ControllerStub', 'getFoo'); $inspector = new ControllerInspector(); $this->assertTrue($inspector->isRoutable($method, 'ControllerStub')); }
public function testControllerMethodIsRoutable() { $method = new ReflectionMethod('Dingo\\Api\\Tests\\Stubs\\ControllerStub', 'getIndex'); $inspector = new ControllerInspector(); $this->assertTrue($inspector->isRoutable($method, 'Dingo\\Api\\Tests\\Stubs\\ControllerStub')); }