### Question:
CodegenUtils { public static boolean isJsonMediaType(String mediaType) { return mediaType.equals("application/json") || mediaType.endsWith("+json"); } private  CodegenUtils(); static boolean isJsonMediaType(String mediaType); static String getOperationSerializerContextType(
            TypeScriptWriter writer,
            Model model,
            OperationShape operation
    ); static String getOperationDeserializerContextType(
            TypeScriptWriter writer,
            Model model,
            OperationShape operation
    );  }### Answer:
@Test public void detectsJsonMediaTypes() { Assertions.assertTrue(CodegenUtils.isJsonMediaType("application/json")); Assertions.assertTrue(CodegenUtils.isJsonMediaType("custom+json")); Assertions.assertFalse(CodegenUtils.isJsonMediaType("application/xml")); }