Enumeration<Object> keys = props.keys();
assertThat((String)keys.nextElement(), equalTo("Foo"));
assertThat((String)keys.nextElement(), equalTo("Bar"));
assertThat((String)keys.nextElement(), equalTo("Baz"));
Enumeration<?> propertyNames = props.propertyNames();
assertThat((String)propertyNames.nextElement(), equalTo("Foo"));
assertThat((String)propertyNames.nextElement(), equalTo("Bar"));
assertThat((String)propertyNames.nextElement(), equalTo("Baz"));
Iterator<String> iterator = props.stringPropertyNames().iterator();