예제 #1
0
        protected void SetUp()
        {
            var mongo = new MongoMockHelper();

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