| 1 | <?php  | 
            ||
| 16 | class TestUtils  | 
            ||
| 17 | { | 
            ||
| 18 | |||
| 19 | /**  | 
            ||
| 20 | * get a logger for testing  | 
            ||
| 21 | *  | 
            ||
| 22 | * @return Logger  | 
            ||
| 23 | */  | 
            ||
| 24 | public static function getTestingLogger()  | 
            ||
| 31 | |||
| 32 | /**  | 
            ||
| 33 | * gets all lines from the handler in one string  | 
            ||
| 34 | *  | 
            ||
| 35 | * @param TestHandler $handler handler  | 
            ||
| 36 | *  | 
            ||
| 37 | * @return string all lines  | 
            ||
| 38 | */  | 
            ||
| 39 | public static function getFullStringFromLog(TestHandler $handler)  | 
            ||
| 49 | }  | 
            ||
| 50 |