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

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

    public function testApiIsHandling_CallsMethodOnModel()
    {
        $logger = $this->createLoggerMock();
        $level = 'some';
        $result = 'result';
        $this->expect('isHandling', [$level])->willReturn($result);
        $this->assertSame($result, $logger->isHandling($level));
    }