/**
  * @test
  * @expectedException \TYPO3\Flow\Mvc\Exception\ViewNotFoundException
  */
 public function resolveViewThrowsExceptionIfViewCouldNotBeResolved()
 {
     $this->mockObjectManager->expects($this->any())->method('getCaseSensitiveObjectName')->will($this->returnValue(false));
     $this->actionController->_set('defaultViewObjectName', 'ViewDefaultObjectName');
     $this->mockObjectManager->expects($this->once())->method('get')->with('ViewDefaultObjectName')->will($this->returnValue(null));
     $this->actionController->_call('resolveView');
 }