### Question:
BinaryCodec extends CodecImpl { @NonNull @Override public String decode(@NonNull String text) { return binaryToText(text); }  @NonNull @Override String encode(@NonNull String text); @NonNull @Override String decode(@NonNull String text); @NonNull @Override String getName(Context context);  }### Answer:
@Test public void testDecode() throws Exception { String expected = "汉语/漢語; Hànyǔ or 中文; Zhōngwén"; String decode = codec.decode(codec.encode(expected)); assertEquals(expected, decode); }
@Test public void decodeUtf16() { String expected = UTF_16_STR; String decode = codec.decode("000000011111010010100111"); assertEquals(expected, decode); }