@Test
public void minVersionsMustBeLessThanMaxversion() {

  descriptor.setMaxVersions(10);
  descriptor.setMinVersions(20);
  expectedException.expect(IllegalStateException.class);
  adapter.adapt(descriptor);
}