public String stringify(boolean value) {
    throw new UnsupportedOperationException(
        "stringify(boolean) was called on a non-boolean stringifier: " + toString());
  }
@Test
  public void testUTF8Stringifier() {
    PrimitiveStringifier stringifier = UTF8_STRINGIFIER;

    assertEquals("null", stringifier.stringify(null));
    assertEquals("", stringifier.stringify(Binary.EMPTY));
    assertEquals("This is a UTF-8 test", stringifier.stringify(Binary.fromString("This is a UTF-8 test")));
    assertEquals(
        "これはUTF-8のテストです",
        stringifier.stringify(Binary.fromConstantByteArray("これはUTF-8のテストです".getBytes(UTF_8))));

    checkThrowingUnsupportedException(stringifier, Binary.class);
  }