ContentType type1 = new ContentType("application","json");
ContentType type2 = new ContentType("application","*");
Assert.assertTrue(type2.matchesWildcard(type1));
Assert.assertFalse(type1.matches(type2));
Assert.assertFalse(type2.matches(type1));
}
@Test
public void testMatchNormal3() throws Exception {
ContentType type1 = new ContentType("application","json");