Example #1
0
 public void Parse_Annotated_ReturnsMediaType()
 {
     TestParse("SomeAnnotatedMediaType", "MediaType", TestFactory.CreateExpectedMediaType(), new AnnotatedParserFactory());
 }
 public void Serialize_MediaType_WritesDocumentType()
 {
     TestSerialize(TestFactory.CreateExpectedMediaType(), "SomeMediaType");
 }
Example #3
0
 public void Parse_ReturnsMediaType()
 {
     TestParse("SomeMediaType", "MediaType", TestFactory.CreateExpectedMediaType(), new DefaultParserFactory());
 }
 public void Deserialize_MediaType_ReturnsMediaType()
 {
     TestDeserialize("SomeMediaType", TestFactory.CreateExpectedMediaType());
 }