Comos\Qpm\Log\LoggerTest::testUseNullLogger PHP Method

testUseNullLogger() public method

public testUseNullLogger ( )
    public function testUseNullLogger()
    {
        Logger::useNullLogger();
        Logger::info("abc");
        try {
            throw new \Exception();
        } catch (\Exception $ex) {
            Logger::info($ex);
        }
        $this->assertEquals(0, filesize($this->_logFile));
    }