public function testGetHelloWorld() { $helloWorld = new HelloWorld(); $this->assertEquals('Hello World', $helloWorld->getHelloWorld()); }
public function indexAction() { $helloWorld = new HelloWorld(); return ['headers' => ['Content-Type' => 'text/html'], 'template' => 'Home.php', 'content' => $helloWorld->getHelloWorld()]; }