public function setUp()
{
$configurationManager = $this->getMock('FluidTYPO3\\Flux\\Configuration\\ConfigurationManager');
$fluxService = $this->objectManager->get('FluidTYPO3\\Flux\\Service\\FluxService');
$fluxService->injectConfigurationManager($configurationManager);
$GLOBALS['TYPO3_DB'] = $this->getMock('TYPO3\\CMS\\Core\\Database\\DatabaseConnection', array('exec_SELECTgetSingleRow', 'exec_SELECTgetRows'), array(), '', FALSE);
$GLOBALS['TYPO3_DB']->expects($this->any())->method('exec_SELECTgetRows')->willReturn(FALSE);
$GLOBALS['TCA'] = array('tt_content' => array('columns' => array('pi_flexform' => array())));
}