  @Test
  public void testGetCleanContentType ()
  {

    assertNull (AS2HttpHelper.getCleanContentType (null));
    assertNull (AS2HttpHelper.getCleanContentType (""));
    assertNull (AS2HttpHelper.getCleanContentType ("    "));
    assertNull (AS2HttpHelper.getCleanContentType ("abc"));
    assertNull (AS2HttpHelper.getCleanContentType ("abc/"));
    assertEquals ("abc/def", AS2HttpHelper.getCleanContentType ("abc/def"));
    assertEquals ("abc/def; a=b", AS2HttpHelper.getCleanContentType ("abc/def; a=b"));
    assertEquals ("abc/def; a=b", AS2HttpHelper.getCleanContentType ("    abc/def   ;    a   =   b   "));
    assertEquals ("abc/def; a=b; c=d", AS2HttpHelper.getCleanContentType ("abc/def; a=b; c=d"));
    assertEquals ("abc/def; a=b; c=d", AS2HttpHelper.getCleanContentType ("  abc/def  ;  a  =  b  ;  c  =  d  "));
  }