'http://proxy']); $home = $client->get(''); $home = $home->getBody()->getContents(); $expected = [ '', 'Incoviba', 'logo', 'Bienvenid@ a Incoviba' ]; foreach ($expected as $segment) { $this->assertStringContainsString($segment, $home); } } }