### Question:
BrotliDecoder implements AsyncDecoder { @Override public String encoding() { return BrotliBodyDecoderFactory.BROTLI_ENCODING; } BrotliDecoder(); @Override String encoding(); @Override void decode(ByteSource source, ByteSink sink); @Override void close();  }### Answer:
@Test void correctEncoding() { try (var dec = new BrotliDecoder()) { assertEquals("br", dec.encoding()); } }