Exemple #1
0
 /**
  * @test
  */
 public function createTestCaseSelectorMarksNoTestCaseSelectedTestCaseAsNotSelected()
 {
     $selectedExtension = 'phpunit';
     $this->userSettingsService->set('extSel', $selectedExtension);
     $this->request->set('testCaseFile', '');
     self::assertNotRegExp('#<option [^>]* selected="selected">Tx_Phpunit_Tests_Unit_BackEnd_ModuleTest</option>#', $this->subject->createTestCaseSelector($selectedExtension));
 }
Exemple #2
0
 /**
  * @test
  * @expectedException \InvalidArgumentException
  */
 public function callRefForTenParametersThrowsException()
 {
     $this->accessibleMock->_callRef('argumentChecker', $parameter, $parameter, $parameter, $parameter, $parameter, $parameter, $parameter, $parameter, $parameter, $parameter);
 }