public function testExecuteResultForward() { $this->forwardMock->expects($this->once())->method('forward')->with('defaultIndex')->willReturnSelf(); $this->assertSame($this->forwardMock, $this->controller->executeInternal()); }