public void Mongo_Configuration_Returns_Null_For_Uninitialized_Type_Connection_Strings() { MongoConfiguration.Initialize(r => r.For <User>(u => u.ForProperty(user => user.FirstName).UseAlias("thisIsntDying"))); var connection = MongoConfiguration.GetConnectionString(typeof(TestProduct)); Assert.Equal(null, connection); }