Kraken\_Unit\Log\Formatter\FormatterTest::testApiFormatBatch_CallsMethodOnModel PHP Method

testApiFormatBatch_CallsMethodOnModel() public method

    public function testApiFormatBatch_CallsMethodOnModel()
    {
        $formatter = $this->createFormatter();
        $array = ['some'];
        $val = 'val';
        $this->expect('formatBatch', [$array])->willReturn($val);
        $this->assertSame($val, $formatter->formatBatch($array));
    }