ContinuousAttribute extends AbstractAttribute implements RangeAttribute { @Override public Object getMin() { return values.isEmpty() ? null : values.min(); } ContinuousAttribute(String key, AttributeLevel level); @Override int registerXAttribute(XAttribute att); @Override Object getMin(); @Override Object getMax();  }
@Test public void testGetMin() { ContinuousAttribute att0 = this.newEmptyAttribute("concept:name", AttributeLevel.EVENT); Assert.assertEquals(null, att0.getMin()); ContinuousAttribute att1 = this.newWithOneValue("concept:name", AttributeLevel.EVENT); Assert.assertEquals(100.1, att1.getMin()); ContinuousAttribute att2 = this.newWithTwoValues("concept:name", AttributeLevel.EVENT); Assert.assertEquals(100.1, att2.getMin()); }