use of hudson.util.DescribableList in project hudson-2.x by hudson.
the class DescribableListProjectPropertyTest method testGetDefaultValue.
/**
* Verify {@link DescribableListProjectProperty#getDefaultValue()} method.
*/
@Test
public void testGetDefaultValue() {
DescribableList defaultValue = property.getDefaultValue();
assertNotNull(defaultValue);
//Default value should be initialized and stored as original value
assertTrue(property.getOriginalValue() == defaultValue);
assertFalse(property.isOverridden());
}
Aggregations