public function testGetters()
{
$config = new Config('phprest', 1, true);
$this->assertEquals('phprest', $config->getVendor());
$this->assertEquals(1, $config->getApiVersion());
$this->assertEquals(true, $config->isDebug());
$this->assertInstanceOf('\\League\\Container\\Container', $config->getContainer());
$this->assertInstanceOf('\\League\\Route\\RouteCollection', $config->getRouter());
$this->assertInstanceOf('\\League\\Event\\Emitter', $config->getEventEmitter());
$this->assertInstanceOf('\\Phprest\\Service\\Hateoas\\Config', $config->getHateoasConfig());
$this->assertInstanceOf('\\Phprest\\Service\\Hateoas\\Service', $config->getHateoasService());
$this->assertInstanceOf('\\League\\BooBoo\\Runner', $config->getErrorHandler());
$this->assertInstanceOf('\\Phprest\\ErrorHandler\\Handler\\Log', $config->getLogHandler());
}