Kraken\_Unit\Log\LoggerTest::testApiGetHandlers_CallsMethodOnModel PHP Метод

testApiGetHandlers_CallsMethodOnModel() публичный Метод

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