@Test
public void columnPrefixFiltersAreAdapted() throws IOException {

  ColumnPrefixFilter filter = new ColumnPrefixFilter(Bytes.toBytes("prefix"));
  Filters.Filter expected = adapter.adapt(emptyScanContext, filter);
  Assert.assertEquals(
      "prefix\\C*",
      Bytes.toString(expected.toProto().getColumnQualifierRegexFilter().toByteArray()));
}