@Test public void testClusterKeyIsSuppressed() { BoundValueSuppressor suppressor = new SuppressRegular(); Optional<String> result = suppressor.suppress(CLUSTER_KEY_COLUMN, valueMock); assertThat(result).isEmpty(); verifyZeroInteractions(valueMock); }
@Override public Optional<String> suppress(ColumnSpecification column, ByteBuffer value) { return isRegularKey(column) ? Optional.of(suppressWithType(column)) : Optional.empty(); }
SuppressRegular extends AbstractSuppressor { @Override public Optional<String> suppress(ColumnSpecification column, ByteBuffer value) { return isRegularKey(column) ? Optional.of(suppressWithType(column)) : Optional.empty(); } }
SuppressRegular extends AbstractSuppressor { @Override public Optional<String> suppress(ColumnSpecification column, ByteBuffer value) { return isRegularKey(column) ? Optional.of(suppressWithType(column)) : Optional.empty(); }  }
SuppressRegular extends AbstractSuppressor { @Override public Optional<String> suppress(ColumnSpecification column, ByteBuffer value) { return isRegularKey(column) ? Optional.of(suppressWithType(column)) : Optional.empty(); }  @Override Optional<String> suppress(ColumnSpecification column, ByteBuffer value); }
SuppressRegular extends AbstractSuppressor { @Override public Optional<String> suppress(ColumnSpecification column, ByteBuffer value) { return isRegularKey(column) ? Optional.of(suppressWithType(column)) : Optional.empty(); }  @Override Optional<String> suppress(ColumnSpecification column, ByteBuffer value);  }