// TODO: add more tests
}
private void test(String val, String expectedType, String expectedSubtype) throws ParseException {
ContentTypeParser parser = new ContentTypeParser(new StringReader(val));
parser.parseAll();
String type = parser.getType();
String subtype = parser.getSubType();
assertEquals(expectedType, type);