How to unit test a method which connects to mongo, without actually connecting to mongo?
I’m trying to write a test to test a method that connects to mongo, but I don’t actually want to have to have mongo running and actually make a connection to it to have my tests pass successfully.