public static List <EntityWithTimeUuid> GetDefaultObjectList()
        {
            List <EntityWithTimeUuid> defaultTimeUuidObjList = new List <EntityWithTimeUuid>();

            for (int i = 1; i <= DefaultRecordCount; i++)
            {
                EntityWithTimeUuid entity = new EntityWithTimeUuid();
                entity.TimeUuidType = TimeUuid.NewId(DateTimeOffset.Parse("2014-3-" + i));
                entity.GuidType     = Guid.NewGuid();
                defaultTimeUuidObjList.Add(entity);
            }
            return(defaultTimeUuidObjList);
        }
 public static bool AssertListContains(List <EntityWithTimeUuid> expectedEntities, EntityWithTimeUuid actualEntity)
 {
     foreach (var expectedEntity in expectedEntities)
     {
         try
         {
             AssertEquals(expectedEntity, actualEntity);
             return(true);
         }
         catch (AssertionException) { }
     }
     return(false);
 }
 public static void AssertEquals(EntityWithTimeUuid expectedEntity, EntityWithTimeUuid actualEntity)
 {
     Assert.AreEqual(expectedEntity.GuidType, actualEntity.GuidType);
     Assert.AreEqual(expectedEntity.StringType, actualEntity.StringType);
     Assert.AreEqual(expectedEntity.TimeUuidType, actualEntity.TimeUuidType);
 }