/** * @test * @covers Plum\Plum\Converter\LogConverter::__construct() * @covers Plum\Plum\Converter\LogConverter::convert() */ public function convertWithOptions() { $converter = new LogConverter($this->logger, 'notice', 'Log Me'); $item = ['a' => 'foo', 'b' => 'bar']; $this->logger->shouldReceive('log')->with('notice', 'Log Me', $item); $converter->convert($item); }