| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 17 | 
| Code Lines | 13 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 20 | public function testEntryToUl()  | 
            ||
| 21 |     { | 
            ||
| 22 | $entry = array(  | 
            ||
| 23 | 'Message' => 'Something went wrong',  | 
            ||
| 24 | 'DateTime' => '2016-01-22 03:14:23'  | 
            ||
| 25 | );  | 
            ||
| 26 | $result = LogFormatter::entryToUl($entry);  | 
            ||
| 27 | $expectedString = '<span style="color: #007700">[</span>'.  | 
            ||
| 28 | '<ul style="margin-bottom: 0"><li class="list-unstyled">'.  | 
            ||
| 29 | '<span style="color: #0000BB">Message</span><span style="color: #007700">: </span>'.  | 
            ||
| 30 | '<span style="color: #DD0000">Something went wrong</span></li>'.  | 
            ||
| 31 | '<li class="list-unstyled"><span style="color: #0000BB">DateTime</span>'.  | 
            ||
| 32 | '<span style="color: #007700">: </span><span style="color: #DD0000">2016-01-22 03:14:23</span></li>'.  | 
            ||
| 33 | '</ul><span style="color: #007700">]</span>';  | 
            ||
| 34 | |||
| 35 | $this->assertEquals($expectedString, $result);  | 
            ||
| 36 | }  | 
            ||
| 37 | |||
| 38 | }  |