public function testExecuteInternal() { $this->viewMock->expects($this->once())->method('getPage')->willReturn($this->pageMock); $this->pageMock->expects($this->once())->method('getConfig')->willReturn($this->pageConfigMock); $this->pageConfigMock->expects($this->once())->method('getTitle')->willReturn($this->pageTitleMock); $this->pageTitleMock->expects($this->once())->method('prepend')->willReturnSelf(); $this->assertNull($this->object->executeInternal()); }