Contao\CoreBundle\Test\Monolog\ContaoTableHandlerTest::testFalseWithoutContaoContext PHP Method

testFalseWithoutContaoContext() public method

Tests that the handle() method returns false if there is no Contao context.
    public function testFalseWithoutContaoContext()
    {
        $record = ['level' => Logger::DEBUG, 'extra' => ['contao' => null], 'context' => []];
        $handler = new ContaoTableHandler();
        $this->assertFalse($handler->handle($record));
    }