@Test
public void unableToAdaptWrappedFilter() throws IOException {

  thrown.expect(IllegalArgumentException.class);
  thrown.expectMessage("Unable to adapted the wrapped filter: PageFilter 30");
  WhileMatchFilter filter = new WhileMatchFilter(new PageFilter(30));
  instance.adapt(emptyScanContext, filter);
}