| Package | Description |
|---|---|
| com.github.fakemongo.junit |
| Class and Description |
|---|
| Fongo
Faked out version of com.mongodb.Mongo
This class doesn't implement Mongo, but does provide the same basic interface
Usage:
Fongo fongo = new Fongo("test server");
com.mongodb.DB db = fongo.getDB("mydb");
// if you need an instance of com.mongodb.Mongo
com.mongodb.MongoClient mongo = fongo.getMongo();
|
Copyright © 2016. All rights reserved.