@Test
public void removingIsNotSupportedByDescendingMediaTypeIterator() {

    Iterator<MediaType> iterator = MediaTypeHelper.createDescendingMediaTypeIterator(new MediaType("*", "*"));
    iterator.next();
    thrown.expect(UnsupportedOperationException.class);
    iterator.remove();
}