mocking dao working