assertIsString($script); $expected = [ 'DatabaseCustomURL http://ftp.swin.edu.au/sanesecurity/phish.ndb', 'DatabaseCustomURL http://ftp.swin.edu.au/sanesecurity/sigwhitelist.ign2', 'DatabaseCustomURL http://ftp.swin.edu.au/sanesecurity/foxhole_js.ndb', 'DatabaseCustomURL http://ftp.swin.edu.au/sanesecurity/winnow_malware.hdb', 'DatabaseCustomURL http://ftp.swin.edu.au/sanesecurity/winnow.attachments.hdb', 'DatabaseCustomURL http://ftp.swin.edu.au/sanesecurity/porcupine.hsb', ]; foreach ($expected as $line) { $this->assertStringContainsString($line, $script); } } }