This method is NOT injected into mock objects but avaialble via MockBox directly in order to create queries very quickly. This is a great way to simulate cfquery calls, cfdirectory or any other cf tag that returns a query.
functiontestGetUsers(){// Mock a query mockQuery =mockBox.querySim("id,fname,lname1| luis | majano2| joe | louis3| bob | lainez");// tell the dao to return this querymockDAO.$("getUsers", mockQuery);}