@Test
public void testGetCharset() {

    String charsetIso = MimeTypeHelper.getCharset("text/html; charset=utf-8");
    assertEquals("utf-8", charsetIso);
    String charsetEmpty = MimeTypeHelper.getCharset("text/plain");
    assertNull(charsetEmpty);
}