Open atlanteh opened 2 years ago
let's say I have a builder class as following:
function dbAccess(query) { // do some stuff query.withPagination(somePagination).withOffset(someOffset).execute() // do some other stuff }
I want to test dbAccess and verify that query was called with specific params. How do I do this?
dbAccess
let's say I have a builder class as following:
I want to test
dbAccess
and verify that query was called with specific params. How do I do this?