assertEquals("BAZ", preferences.get("Developer Tools", "Proxy Host").getValue());
}
@Test
public void testMerge() {
OperaPreferences newPrefs = new OperaGenericPreferences();
newPrefs.set("Developer Tools", "Proxy Host", "1.2.3.4");
newPrefs.set("Developer Tools", "Proxy Port", 1234);
newPrefs.set("Developer Tools", "Proxy Auto Connect", true);
preferences.merge(newPrefs);
assertEquals("1.2.3.4", preferences.get("Developer Tools", "Proxy Host").getValue());
assertEquals(1234, preferences.get("Developer Tools", "Proxy Port").getValue());