@Test public void testSuppressorNeverSuppresses() { BoundValueSuppressor suppressor = new SuppressNothing(); Optional<String> result = suppressor.suppress(null, valueMock); assertThat(result).isEmpty(); verifyZeroInteractions(valueMock); }
@Override public Optional<String> suppress(ColumnSpecification column, ByteBuffer value) { return Optional.empty(); }
SuppressNothing implements BoundValueSuppressor { @Override public Optional<String> suppress(ColumnSpecification column, ByteBuffer value) { return Optional.empty(); } }
SuppressNothing implements BoundValueSuppressor { @Override public Optional<String> suppress(ColumnSpecification column, ByteBuffer value) { return Optional.empty(); }  }
SuppressNothing implements BoundValueSuppressor { @Override public Optional<String> suppress(ColumnSpecification column, ByteBuffer value) { return Optional.empty(); }  @Override Optional<String> suppress(ColumnSpecification column, ByteBuffer value); }
SuppressNothing implements BoundValueSuppressor { @Override public Optional<String> suppress(ColumnSpecification column, ByteBuffer value) { return Optional.empty(); }  @Override Optional<String> suppress(ColumnSpecification column, ByteBuffer value);  }