source: class MediaTypeTest {
  
      @Test
      public void valueOfShouldThrowExceptionIfEmpty() {
  
target:         Throwable thrown = catchThrowable(() -> {
              MediaType.valueOf("");
          });
          assertThat(thrown).isInstanceOf(IllegalArgumentException.class);
      }
  
  }