public void testGetDomainValue() throws NoSuchMethodException {
final ExtendedElementInformation information = new PropertyInformation<Double>(HardCodedCitations.ISO_19115,
"maxRelativeHumidity", EnvironmentalRecord.class.getMethod("getMaxRelativeHumidity"), Double.class,
DefaultEnvironmentalRecord.class.getMethod("getMaxRelativeHumidity").getAnnotation(ValueRange.class));
final InternationalString domainValue = information.getDomainValue();
assertNotNull(domainValue);
assertEquals("[0.0 … 100.0]", domainValue.toString());
assertEquals("[0 … 100]", domainValue.toString(Locale.ENGLISH));
assertEquals("[0 … 100]", domainValue.toString(Locale.FRENCH));
assertInstanceOf("Specific to SIS implementation.", Range.class, domainValue);
assertEquals("getMinValue()", Double.valueOf( 0), ((Range) domainValue).getMinValue());
assertEquals("getMaxValue()", Double.valueOf(100), ((Range) domainValue).getMaxValue());
}