@Test
    public void testIsJson() {
        assertThat(JSON.isJson()).isTrue();
        assertThat(JSON_UTF_8.isJson()).isTrue();
        assertThat(MediaType.parse("application/graphql+json").isJson()).isTrue();
        assertThat(PLAIN_TEXT_UTF_8.isJson()).isFalse();
        assertThat(GRAPHQL.isJson()).isFalse();
    }
Tests for {@link MediaType}.

@author Gregory Kick
core/src/test/java/com/linecorp/armeria/common/MediaTypeTest.java