@Test
public void maxVersionsIsPreservedInGcExpression() {

  descriptor.setMaxVersions(10);
  ColumnFamily result = adapter.adapt(descriptor);
  GCRules.GCRule expected = GCRULES.maxVersions(10);
  Assert.assertEquals(expected.toProto(), result.getGcRule());
}