public void a_codec_that_is_not_registered_for_all_resource_types_is_not_selected() { GivenACodec <CustomerCodec, Customer>("application/xml"); WhenFindingCodec("application/xml", typeof(Customer), typeof(Frodo)); ThenTheResult.ShouldBeNull(); }
public void a_codec_for_a_parent_resource_type_with_strict_marker_is_not_found() { GivenACodec <CustomerCodec, Strictly <object> >("application/xml"); WhenFindingCodec("application/xml", typeof(Customer)); ThenTheResult.ShouldBeNull(); }