Phprest\Service\Logger\LoggerTest::testGetter PHP Méthode

testGetter() public méthode

public testGetter ( )
    public function testGetter()
    {
        $service = new Service();
        $service->register($this->continer, new Config('anotherLoggerName'));
        $this->assertEquals('anotherLoggerName', $this->serviceLogger()->getName());
    }