コード例 #1
0
 /**
  * @test
  * @expectedException \Neos\Flow\Mvc\Exception\ViewNotFoundException
  */
 public function resolveViewThrowsExceptionIfResolvedViewDoesNotImplementViewInterface()
 {
     $this->mockObjectManager->expects($this->any())->method('getCaseSensitiveObjectName')->will($this->returnValue(false));
     $this->actionController->_set('defaultViewObjectName', 'ViewDefaultObjectName');
     $this->actionController->_call('resolveView');
 }