private IPreferenceStore store;
private PathsPreferences preferences;
private Iterable<PathsPreferences> allPreferences;
@Before public void setUp() {
IPreferenceStoreAccess storeAccess = mock(IPreferenceStoreAccess.class);
store = mock(IPreferenceStore.class);
when(storeAccess.getWritablePreferenceStore(null)).thenReturn(store);
preferences = new PathsPreferences(storeAccess , null);
allPreferences = singletonList(preferences);
}