passing all method's arguments to mock's callback function