PopTest\Log\LogTest::testDebug PHP Méthode

testDebug() public méthode

public testDebug ( )
    public function testDebug()
    {
        $l = new Logger(new File(__DIR__ . '/../tmp/app.xml'));
        $l->debug('Test log message');
        $this->assertTrue(file_exists(__DIR__ . '/../tmp/app.xml'));
        $this->assertGreaterThan(0, filesize(__DIR__ . '/../tmp/app.xml'));
        unlink(__DIR__ . '/../tmp/app.xml');
    }