public function canExecuteClearAllCacheCommandTwiceWithoutDoubleCalling()
{
$instance = $this->getInstance();
$mockedFluxService = $this->getMock('FluidTYPO3\\Flux\\Service\\FluxService', array('resolveConfigurationProviders'));
$mockedFluxService->expects($this->atLeastOnce())->method('resolveConfigurationProviders')->will($this->returnValue(array()));
ObjectAccess::setProperty($instance, 'configurationService', $mockedFluxService, TRUE);
$instance->clearCacheCommand('all');
$instance->clearCacheCommand('all');
}