/** * test get config * * @return void */ public function testGet() { $configManager = $this->configManager; $configHandler = new ConfigHandler($configManager); $configManager->shouldReceive('get')->once()->andReturn($this->getConfigEntity()); $config = $configHandler->get(); $this->assertInstanceOf('Xpressengine\\Config\\ConfigEntity', $config); }