@Test
public void testNoTime() {

  schema.getDescriptor("when").getUserData().clear();
  schema.getDescriptor("whennot").getUserData().clear();
  schema.getDescriptor("when").getUserData().put("time", Boolean.FALSE);
  schema.getDescriptor("whennot").getUserData().put("time", Boolean.FALSE);
  final FeatureDataAdapter dataAdapter =
      new FeatureDataAdapter(
          schema,
          new GlobalVisibilityHandler<SimpleFeature, Object>("default"));
  final List<IndexFieldHandler<SimpleFeature, ? extends CommonIndexValue, Object>> handlers =
      dataAdapter.getDefaultTypeMatchingHandlers(schema);
  boolean found = false;
  for (final IndexFieldHandler<SimpleFeature, ? extends CommonIndexValue, Object> handler : handlers) {
    found |= (handler instanceof FeatureTimestampHandler);
  }
  assertFalse(found);
}