/** * Sets up the fixture. * This method is called before a test is executed. * * @access protected */ protected function setUp() { Tinebase_TransactionManager::getInstance()->startTransaction(Tinebase_Core::getDb()); $this->_controller = Felamimail_Controller_Account::getInstance(); $this->_account = $this->_controller->search()->getFirstRecord(); }