### Question:
SuppressBlobs extends AbstractSuppressor { @Override public Optional<String> suppress(ColumnSpecification column, ByteBuffer value) { return containsBlob(column.type) ? Optional.of(suppressWithType(column)) : Optional.empty(); }  @Override Optional<String> suppress(ColumnSpecification column, ByteBuffer value);  }### Answer:
@Test @Parameters(method = "testBlobsAreHidden_parameters") public void testBlobsAreHidden(ColumnSpecification column, String expectedString) { ByteBuffer valueMock = mock(ByteBuffer.class); BoundValueSuppressor suppressor = new SuppressBlobs(); Optional<String> result = suppressor.suppress(column, valueMock); assertThat(result).contains(expectedString); verifyZeroInteractions(valueMock); }
@Test @Parameters(method = "testNonBlobsColumns_parameters") public void testNonBlobsColumns(ColumnSpecification column) { ByteBuffer valueMock = mock(ByteBuffer.class); BoundValueSuppressor suppressor = new SuppressBlobs(); Optional<String> result = suppressor.suppress(column, valueMock); assertThat(result).isEmpty(); verifyZeroInteractions(valueMock); }