// (this could mean a real server is running on our port)
mockMongo = new MockMongo();
try {
new DBPort(new ServerAddress("0.0.0.0", mockMongo.getPort()))
.ensureOpen();
fail("something is already listening at the Mongo port! Is a real mongo process running?");
} catch (IOException e) {
}
mockMongo.start();