public void SetUp() { _entitiesForTests = new List <SkillTestEntity>(); _entitiesForTestsTypeTwo = new List <SkillTestEntityTwo>(); // Create a 100 entities for (int i = 0; i < 100; i++) { var entity = new SkillTestEntity { Created = DateTime.UtcNow, Updated = DateTime.UtcNow, Description = "A test entity description", Id = i, Name = "cool" }; _entitiesForTests.Add(entity); var entityTwo = new SkillTestEntityTwo { Created = DateTime.UtcNow, Updated = DateTime.UtcNow, Description = "A test entity cool description", Id = i, Name = "cool" }; _entitiesForTestsTypeTwo.Add(entityTwo); } }
public void SetUp() { _entitiesForTests = new List<SkillTestEntity>(); _entitiesForTestsTypeTwo = new List<SkillTestEntityTwo>(); // Create a 100 entities for (int i = 0; i < 100; i++) { var entity = new SkillTestEntity { Created = DateTime.UtcNow, Updated = DateTime.UtcNow, Description = "A test entity description", Id = i, Name = "cool" }; _entitiesForTests.Add(entity); var entityTwo = new SkillTestEntityTwo { Created = DateTime.UtcNow, Updated = DateTime.UtcNow, Description = "A test entity cool description", Id = i, Name = "cool" }; _entitiesForTestsTypeTwo.Add(entityTwo); } }