@Test
    public void testGetParameters() {
        assertEquals(ImmutableMap.of(), MediaType.parse("text/plain").parameters());
        assertEquals(
                ImmutableMap.of("charset", ImmutableList.of("utf-8")),
                MediaType.parse("application/atom+xml; charset=utf-8").parameters());
        assertEquals(PARAMETERS, MediaType.parse("application/atom+xml; a=1; a=2; b=3").parameters());
    }
Tests for {@link MediaType}.

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