| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 23 | 
| Code Lines | 15 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 17 | public function testMemoryUsage() : void  | 
            ||
| 18 |     { | 
            ||
| 19 | $domains = [  | 
            ||
| 20 | 'http://google.de',  | 
            ||
| 21 | 'http://google.com',  | 
            ||
| 22 | 'http://google.it',  | 
            ||
| 23 | 'https://google.de',  | 
            ||
| 24 | 'https://google.com',  | 
            ||
| 25 | 'https://google.it',  | 
            ||
| 26 | 'http://www.google.de',  | 
            ||
| 27 | 'http://www.google.com',  | 
            ||
| 28 | 'http://www.google.it',  | 
            ||
| 29 | ];  | 
            ||
| 30 | |||
| 31 | $memoryStart = memory_get_usage(true);  | 
            ||
| 32 | |||
| 33 |         foreach ($domains as $key => $domain) { | 
            ||
| 34 | $purl[$key] = Url::parse($domain);  | 
            ||
| 35 | }  | 
            ||
| 36 | |||
| 37 | $memoryEnd = memory_get_usage(true);  | 
            ||
| 38 | |||
| 39 | self::assertEquals($this->roundMemoryUsage($memoryStart), $this->roundMemoryUsage($memoryEnd));  | 
            ||
| 40 | }  | 
            ||
| 47 |