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