BinaryValueReader implements ValueReader { @Override public boolean test(Class<?> type) { return Binary.class.equals(type); }  @Override boolean test(Class<?> type); @Override T read(Class<T> valueType, Object value);  }
@Test public void shouldValidateCompatibility() { assertTrue(valueReader.test(Binary.class)); assertFalse(valueReader.test(AtomicBoolean.class)); }