/** * test getting client list * * @return void */ public function testGeClientList() { $dataAccess = new DataAccess(); $clients = $dataAccess->getClientsFromUsers(); //check that client list is not empty $this->assertNotEquals(null, $clients); //test that there are at least 10 clients after seed for ($i = 0; $i < 10; $i++) { $this->assertNotEquals(null, $clients[$i]); } }