public void testContentTypeString() {
public void testContentTypeString() throws ParseException { ContentType type; type = new ContentType("text/plain"); assertEquals("text", type.getPrimaryType()); assertEquals("plain", type.getSubType()); assertEquals("text/plain", type.getBaseType()); assertNotNull(type.getParameterList()); assertNull(type.getParameter("charset")); type = new ContentType("image/audio;charset=us-ascii"); ParameterList parameterList = type.getParameterList(); assertEquals("image", type.getPrimaryType()); assertEquals("audio", type.getSubType()); assertEquals("image/audio", type.getBaseType()); assertEquals("us-ascii", parameterList.get("charset")); assertEquals("us-ascii", type.getParameter("charset"));
    public void testContentTypeString() {    }