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

testApiGetHandlers_CallsMethodOnModel() public method

    public function testApiGetHandlers_CallsMethodOnModel()
    {
        $logger = $this->createLoggerMock();
        $handler = new Handler(new NullHandler());
        $handlers = [$handler];
        $this->expect('getHandlers', [])->willReturn($handlers);
        $this->assertSame($handlers, $logger->getHandlers());
    }