/**
  * @test
  */
 public function createValidationErrorMessageAddsErrorMessage()
 {
     $installTool = $this->getMock('TYPO3\\CMS\\Install\\Installer', array('addErrorMessage'), array(), '', FALSE);
     $installTool->expects($this->once())->method('addErrorMessage')->with('Validating the security token of this form has failed. ' . 'Please reload the form and submit it again.');
     $this->fixture->injectInstallTool($installTool);
     $this->fixture->createValidationErrorMessage();
 }