public void Resolver_GetSerializationInfoPublicMembersResolverWithUnsupportedTypes() { Assert.Throws <SerializationException>(() => { var resolver = new AvroPublicMemberContractResolver(); resolver.ResolveType(typeof(ClassWithoutParameterlessConstructor)); } ); }
public void Resolver_GetSerializationInfoUsingPublicMembersResolverWithNullType() { Assert.Throws <ArgumentNullException>(() => { var resolver = new AvroPublicMemberContractResolver(); resolver.ResolveType(null); } ); }
public void Resolver_GetSerializationInfoPublicMembersResolverWithUnsupportedTypes() { var resolver = new AvroPublicMemberContractResolver(); resolver.ResolveType(typeof(ClassWithoutParameterlessConstructor)); }
public void Resolver_GetSerializationInfoUsingPublicMembersResolverWithNullType() { var resolver = new AvroPublicMemberContractResolver(); resolver.ResolveType(null); }