assertEquals("arrayVal[1]", "bar", found.get(1));
assertEquals("arrayVal[2]", "baz", found.get(2));
}
public void testMockPrefsMsg() {
MockPreferencesFeatureImpl impl =
(MockPreferencesFeatureImpl) MockPreferencesFeatureImpl.get();
impl.setMsg("stringVal", "data");
PreferencesProvider.set(impl);
PreferencesFeature prefs = PreferencesProvider.get();
assertEquals("stringVal", "data", prefs.getMsg("stringVal"));
assertNull("stringValUnset", prefs.getString("boolValUnset"));