public void testMatchQualifier1() throws Exception {
ContentType type1 = new ContentType("application","rdf+json");
ContentType type2 = new ContentType("application","json");
Assert.assertFalse(type2.matches(type1));
Assert.assertTrue(type2.matchesSubtype(type1));
Assert.assertFalse(type1.matchesSubtype(type2));
}
@Test
public void testMatchQualifier2() throws Exception {
ContentType type1 = new ContentType("application","rdf+json");