/**
  * @test
  */
 public function renderNotSelectsAnyOptionWithInvalidSelectedExtension()
 {
     $this->userSettingsService->set(Tx_Phpunit_Interface_Request::PARAMETER_KEY_TESTABLE, 'foo');
     $this->subject->injectUserSettingService($this->userSettingsService);
     $this->subject->render();
     self::assertNotContains(' selected="selected"', $this->outputService->getCollectedOutput());
 }
 /**
  * @test
  */
 public function isActiveForCodeCoverageReturnsFalseIfXdebugIsNotLoaded()
 {
     if (extension_loaded('xdebug')) {
         self::markTestSkipped('Skipping test because PHP extension xdebug is loaded');
     }
     $key = 'codeCoverage';
     self::assertFalse($this->subject->isActive($key));
 }
 /**
  * @test
  */
 public function isActiveForSanityCheckReturnsFalse()
 {
     $key = 'thisSettingIsAlwaysInactive';
     self::assertFalse($this->subject->isActive($key));
 }
 /**
  * @test
  */
 public function setWritesUserSettings()
 {
     $GLOBALS['BE_USER']->expects($this->once())->method('writeUC');
     $this->fixture->set('foo', 'bar');
 }
 /**
  * @test
  */
 public function setWritesUserSettings()
 {
     $this->getBackEndUserMock()->expects(self::once())->method('writeUC');
     $this->subject->set('foo', 'bar');
 }