public void testSingleValue() throws Exception {
Value expected = Value.getStringValue("test1");
SimpleProperty property = new SimpleProperty(expected);
// We should get our value back, but only once.
Value value = property.nextValue();
assertNotNull(value);
assertEquals(expected, value);
// Next fetch should yield null.
value = property.nextValue();