@Test
public void removeColumns() {

  UnsupportedOperationException thrown =
      assertThrows(
          UnsupportedOperationException.class,
          () -> {
            TableSlice slice = new TableSlice(source, Selection.withRange(0, source.rowCount()));
            slice.removeColumns("who");
          });
  assertTrue(
      thrown
          .getMessage()
          .contains("Class TableSlice does not support the removeColumns operation"));
}