@Test
public void testGCruleMaxVersion() {

  int ttl = 100;
  descriptor.setTimeToLive(ttl);
  descriptor.setMaxVersions(Integer.MAX_VALUE);
  ColumnFamily result = adapter.adapt(descriptor);
  GCRule expected = GCRULES.maxAge(Duration.ofSeconds(ttl));
  Assert.assertEquals(expected.toProto(), result.getGcRule());
}