@Test
public void handlesEmptyTrailers() {

  for (Version version : catalog.getSupportedVersions()) {
    ApiException exception =
        getApiExceptionForVersion(version.getExceptionFactory().getTrailerKey(), null);
    Throwable result = transformation.transform(exception);
    assertEquals(exception, result);
  }
}