public void SetUpContext()
 {
     db = new MockDatabase();
     SocialContext = new MockSocialContext
     {
         Users = { db.user0, db.user1, db.user2, db.user3, db.user4 },
         Groups = { db.group0, db.group1, db.group2, db.group3 },
         Locations = { db.location0, db.location1, db.location2 },
         Posts = { db.post0, db.post1, db.post2, db.post3, db.post4 }
     };
 }
Пример #2
0
 public void SetUpContext()
 {
     db            = new MockDatabase();
     SocialContext = new MockSocialContext
     {
         Users     = { db.user0, db.user1, db.user2, db.user3, db.user4 },
         Groups    = { db.group0, db.group1, db.group2 },
         Locations = { db.location0, db.location1, db.location2 },
         Posts     = { db.post0, db.post1, db.post2, db.post3, db.post4 }
     };
 }