public function setUp() { $this->mockReflectionService = $this->getMock('TYPO3\\FLOW3\\Reflection\\ReflectionService'); $this->commandManager = $this->getMock('TYPO3\\FLOW3\\Cli\\CommandManager', array('getAvailableCommands')); $this->mockBootstrap = $this->getMock('TYPO3\\FLOW3\\Core\\Bootstrap', array(), array(), '', FALSE); $this->commandManager->injectBootstrap($this->mockBootstrap); }