use of net.grandcentrix.tray.core.TrayItem in project tray by grandcentrix.
the class TrayTest method testGetAll.
public void testGetAll() throws Exception {
final TestTrayModulePreferences module2 = new TestTrayModulePreferences(getProviderMockContext(), "module2");
mTrayModulePref.put("test", "test");
module2.put("test", "test");
mTrayModulePref.put("test2", "test");
module2.put("test2", "test");
assertUserDatabaseSize(4);
final Collection<TrayItem> all = mTray.getAll();
assertEquals(4, all.size());
}
Aggregations