$querySim() Method
function testGetUsers(){
// Mock a query
mockQuery = mockBox.querySim("id,fname,lname
1 | luis | majano
2 | joe | louis
3 | bob | lainez");
// tell the dao to return this query
mockDAO.$("getUsers", mockQuery);
}Was this helpful?