@Test
public void testMatch() throws Exception {

tentType empty = new ContentType();
ertFalse(empty.match("text/plain"));
tentType plain = new ContentType("text/plain");
ertTrue(plain.match("text/plain"));
ertFalse(empty.match(plain));
ertFalse(plain.match(empty));
ertTrue(plain.match("text/*"));
tentType text = new ContentType("text/*");
ertTrue(text.match(plain));
ertTrue(plain.match(text));
}