@Test
public void minMaxTtlInDescriptor() {

  descriptor.setMaxVersions(20);
  descriptor.setMinVersions(10);
  descriptor.setTimeToLive(86400); // 1 day in seconds
  ColumnFamily result = adapter.adapt(descriptor);
  Assert.assertEquals(minMaxRule(10, 86400, 20).toProto(), result.getGcRule());
}