コード例 #1
0
ファイル: ModuleTest.php プロジェクト: jacobsenj/phpunit
 /**
  * @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));
 }
コード例 #2
0
ファイル: TestCaseTest.php プロジェクト: TrueType/phpunit
 /**
  * @test
  * @expectedException \InvalidArgumentException
  */
 public function callRefForTenParametersThrowsException()
 {
     $this->accessibleMock->_callRef('argumentChecker', $parameter, $parameter, $parameter, $parameter, $parameter, $parameter, $parameter, $parameter, $parameter, $parameter);
 }