public static String pickBestEncoding(String acceptHeader, Set<String> customMimeTypesSupported)
  {
    return pickBestEncoding(acceptHeader, null, customMimeTypesSupported);
  }
@Test
  public void testPickBestEncodingWithNoMimeTypes()
  {
    Assert.assertNotEquals(RestUtils.pickBestEncoding(null, Collections.emptySet()), EMPTY_TYPE);
  }