Phprest\Service\Logger\LoggerTest::testInstansiation PHP Метод

testInstansiation() публичный Метод

public testInstansiation ( )
    public function testInstansiation()
    {
        $service = new Service();
        $service->register($this->continer, new Config('sampleLoggerName'));
        $loggerService = $this->continer->get(Config::getServiceName());
        $this->assertEquals('sampleLoggerName', $loggerService->getName());
    }