title: How can I use a HashMap to mock out my Mongo DB repository
body: <p>I am trying to figure out a way to create a mock implementation of my Mongo DB repository that used a HashMap under the covers. This way, I wouldn't have to mock out every single database call and could simply let the database act as a black box and just check the results at the end.</p>