Assert.assertEquals(property[1], properties.get(property[0]));
}
}
@Test
public void testLoadJDK6() throws Exception {
<BUG>if (JavaDetector.isJDK6()) {
Properties properties = PropertiesUtil.loadJDK6(</BUG>
new UnsyncStringReader(_PROPERTIES_STRING));
for (String[] property : _PROPERTIES_ARRAY) {
Assert.assertEquals(property[1], properties.get(property[0]));

Assert.assertEquals(property[1], properties.get(property[0]));
}
}
@Test
public void testLoadJDK5() throws Exception {
byte[] utf8Encoded = _PROPERTIES_STRING.getBytes(StringPool.UTF8);
Properties properties = PropertiesUtil.loadJDK5(
new UnsyncByteArrayInputStream(utf8Encoded), StringPool.UTF8);
for (String[] property : _PROPERTIES_ARRAY) {
Assert.assertEquals(property[1], properties.get(property[0]));
