@Override protected void doBefore(){
  filePrefs.add(new ApplicationPreference("filePref1"));
  filePrefs.add(new ApplicationPreference("filePref2"));
  persistedPrefs.add(new ApplicationPreference(PERSISTED_APP_PREF1));
  persistedPrefs.add(new ApplicationPreference(PERSISTED_APP_PREF2));
}

@ Override protected void doBefore ( ) { filePrefs . add ( new ApplicationPreference ( "filePref1" ) ) ; filePrefs . add ( new ApplicationPreference ( "filePref2" ) ) ; persistedPrefs . add ( new ApplicationPreference ( PERSISTED_APP_PREF1 ) ) ; persistedPrefs . add ( new ApplicationPreference ( PERSISTED_APP_PREF2 ) ) ; }
setting up some test data .
