mock/stub dependencies during test