Methods # static clearDatabase() Removes all the data for all db collections. View Source server/utils/testing/testDatabaseHandler.js, line 42 # static closeDatabase() Drops the database, closes the connection and stops mongod. View Source server/utils/testing/testDatabaseHandler.js, line 32 # static connect() Connects to the in-memory database. View Source server/utils/testing/testDatabaseHandler.js, line 23