@Test
public void testBadType() {

    try {
        new MediaTypeHeaderProvider().fromString("texthtml");
        fail("Parse exception must've been thrown");
    } catch (Exception pe) {
        // expected
    }
}