function setUp() { $this->globals = $GLOBALS; $this->service_manager = mock('ServiceManager'); ServiceManager::setInstance($this->service_manager); }