// PUBLIC METHODS /////////////////////////////////////////////////// #region Assert Methods public static void Equal(IComplexType expected, IComplexType actual) { if (expected == null) { Assert.Null(actual); return; } Assert.NotNull(actual); Assert.Equal(expected.ClrType, actual.ClrType); AttributesInfoAssert.Equal(expected.AttributesInfo, actual.AttributesInfo); }
// PUBLIC METHODS /////////////////////////////////////////////////// #region Assert Methods public static void Equal(IResourceType expected, IResourceType actual) { if (expected == null) { Assert.Null(actual); return; } Assert.NotNull(actual); Assert.Equal(expected.ClrType, actual.ClrType); HypermediaInfoAssert.Equal(expected.HypermediaInfo, actual.HypermediaInfo); ResourceIdentityInfoAssert.Equal(expected.ResourceIdentityInfo, actual.ResourceIdentityInfo); AttributesInfoAssert.Equal(expected.AttributesInfo, actual.AttributesInfo); RelationshipsInfoAssert.Equal(expected.RelationshipsInfo, actual.RelationshipsInfo); LinksInfoAssert.Equal(expected.LinksInfo, actual.LinksInfo); MetaInfoAssert.Equal(expected.MetaInfo, actual.MetaInfo); }