assertEquals(1, properties.entrySet().size());
assertTrue(properties.keys().hasMoreElements());
assertEquals("foo", properties.keys().nextElement());
assertTrue(properties.propertyNames().hasMoreElements());
assertEquals("foo", properties.keys().nextElement());
assertTrue(properties.elements().hasMoreElements());
assertEquals("bar", properties.get("foo"));
assertEquals("bar", properties.getProperty("foo"));
assertEquals("bar", properties.getProperty("foo", "default"));
}