@Test
public void testIsMatch() throws Exception {

    assertTrue(MimeTypeHelper.isMatch("application/atom+xml;type=entry", "application/atom+xml;type=feed"));
    assertTrue(MimeTypeHelper.isMatch("*/*", "application/atom+xml;type=feed"));
    assertTrue(MimeTypeHelper.isMatch("application/atom+xml;type=entry", "*/*"));
    assertFalse(MimeTypeHelper.isMatch(null, "application/atom+xml;type=feed"));
    assertFalse(MimeTypeHelper.isMatch("blafasel", "application/atom+xml;type=feed"));
    MimeType mimeType1 = new MimeType("application/atom+xml;type=entry");
    MimeType mimeType2 = new MimeType("application/atom+xml;type=feed");
    assertFalse(MimeTypeHelper.isMatch(mimeType1, mimeType2, true));
}