protected void SetUp() { var mongo = new MongoMockHelper(); collection = mongo.CollectionByEntity <NamedEntity>(); repository = new Repository <NamedEntity>(mongo.DatabaseByEntity <NamedEntity>(collection).Object); }
protected void SetUp() { var mongo = new MongoMockHelper(); collection = mongo.CollectionByEntity<NamedEntity>(); repository = new Repository<NamedEntity>(mongo.DatabaseByEntity<NamedEntity>(collection).Object); }