PhlytyTest\AppTest::testCanInjectSpecificLoggerInstance PHP Méthode

testCanInjectSpecificLoggerInstance() public méthode

    public function testCanInjectSpecificLoggerInstance()
    {
        $logger = new Logger();
        $this->app->setLog($logger);
        $this->assertSame($logger, $this->app->getLog());
    }
AppTest