Kraken\_Unit\Log\LoggerTest::testApiPopProcessor_ReturnsNull_WhenModelThrowsException PHP Method

testApiPopProcessor_ReturnsNull_WhenModelThrowsException() public method

    public function testApiPopProcessor_ReturnsNull_WhenModelThrowsException()
    {
        $logger = $this->createLoggerMock();
        $ex = new Exception();
        $this->expect('popProcessor', [])->willThrow($ex);
        $this->assertSame(null, $logger->popProcessor());
    }