@Test
public void fromContentType() {

  final List<AcceptType> acceptType = AcceptType.fromContentType(ContentType.APPLICATION_JSON);
  assertNotNull(acceptType);
  assertEquals(1, acceptType.size());
  assertEquals(ContentType.APPLICATION_JSON.toContentTypeString(), acceptType.get(0).toString());
}