Fongo ("Fake Mongo") is a in-memory re-implementation of MongoDB written in Java. The goal of the project is to use it for lightweight unit testing and not production databases.
https://github.com/fakemongo/fongo
https://github.com/fakemongo/fongo
Foursquare
2012