@Test
public void destinationWithSmallerColumnIsInvalid() {

  IllegalArgumentException thrown = assertThrows(IllegalArgumentException.class,
          () -> tableMetadataChecker.ensureCopyingPossible("base", "smaller_size"));
  assertThat(thrown.getMessage(), containsString("Source column base.TEXT2 has size 30 and destination column smaller_size.TEXT2 smaller size 25"));
}