@Test
public void failsIfExceptionFactoryHasNoPublicConstructor() {

  try {
    VersionDescriptorLoader.forVersionList(MissingExceptionFactoryConstructor.class);
    fail();
  } catch (IllegalArgumentException e) {
    // Expected
  }
}