notEmpty(); foreach($web_hosts as $host) { expect($host['interval'])->greaterThan(0); expect($host['emails'])->greaterThan(0); } } function testItReturnsAListOfSMTPHosts() { $smtp_hosts = Hosts::getSMTPHosts(); expect($smtp_hosts)->notEmpty(); foreach($smtp_hosts as $host) { expect($host['interval'])->greaterThan(0); expect($host['emails'])->greaterThan(0); } } }