public static EntityWithListType GetRandomInstance(int seed = 1)
 {
     EntityWithListType entity = new EntityWithListType();
     entity.Id = Guid.NewGuid().ToString();
     entity.ListType = new List<int>() { seed };
     return entity;
 }
 public EntityWithListType Clone()
 {
     EntityWithListType entity = new EntityWithListType();
     entity.Id = Id;
     entity.ListType = new List<int>();
     entity.ListType.AddRange(ListType);
     return entity;
 }
 public void AssertEquals(EntityWithListType actualEntity)
 {
     Assert.AreEqual(Id, actualEntity.Id);
     CollectionAssert.AreEquivalent(ListType, actualEntity.ListType);
 }