public function testConstruct() { $controller = new SymfonyController('mycontroller', 'A\\Namespace', 'a description'); $this->assertEquals('mycontroller', $controller->getName()); $this->assertEquals('A\\Namespace', $controller->getNamespace()); $this->assertEquals('a description', $controller->getDescription()); }
protected function getFilepath(SymfonyController $controller, $destination) { return $destination . '/' . $controller->getName() . '.php'; }