### Question:
SuppressClusteringAndRegular extends AbstractSuppressor { @Override public Optional<String> suppress(ColumnSpecification column, ByteBuffer value) { return isClusteringOrRegular(column) ? Optional.of(suppressWithType(column)) : Optional.empty(); }  @Override Optional<String> suppress(ColumnSpecification column, ByteBuffer value);  }### Answer:
@Test public void testPartitionKeyIsNotSuppressed() { BoundValueSuppressor suppressor = new SuppressClusteringAndRegular(); Optional<String> result = suppressor.suppress(PARTITION_KEY_COLUMN, valueMock); assertThat(result).isEmpty(); verifyZeroInteractions(valueMock); }
@Test public void testClusterKeyIsNotSuppressed() { BoundValueSuppressor suppressor = new SuppressClusteringAndRegular(); Optional<String> result = suppressor.suppress(CLUSTER_KEY_COLUMN, valueMock); assertThat(result).contains("<int>"); verifyZeroInteractions(valueMock); }
@Test public void testRegularIsSuppressed() { BoundValueSuppressor suppressor = new SuppressClusteringAndRegular(); Optional<String> result = suppressor.suppress(REGULAR_COLUMN, valueMock); assertThat(result).contains("<text>"); verifyZeroInteractions(valueMock); }