| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class LogFormatterTest extends SapphireTest |
||
| 9 | { |
||
| 10 | public function testFormat() |
||
| 11 | { |
||
| 12 | $this->assertSame( |
||
| 13 | 'I am a log message', |
||
| 14 | (new LogFormatter)->format(['foo' => 'bar', 'message_level' => 'blah', 'message' => 'I am a log message']) |
||
| 15 | ); |
||
| 16 | } |
||
| 17 | |||
| 18 | public function testFormatBatch() |
||
| 26 | ]) |
||
| 27 | ); |
||
| 30 |