@Test
public void testSimpleToString() {

    MediaTypeHeaderProvider provider =
            new MediaTypeHeaderProvider();
    assertEquals("text/plain", provider.toString(new MediaType("text", "plain")),
            "simple media type is not serialized");
}