static void Main(string[] args) { var locator = new MongodExeLocator(); using (var server = MongoTestServer.Start(27017, locator)) { } }
protected MongoTestServer StartServer() { return(MongoTestServer.Start(Port, new MongodExeLocator())); }
public void SetUp() { _testServer = new MongoTestServer(@"..\..\..\..\tools\mongodb\binaries\mongod", "OrmongoTests"); _testServer.Start(); }