void () { assertEquals(1, myTaskManager.getLocalTasks().size()); final LocalTask defaultTask = myTaskManager.getLocalTasks().get(0); assertEquals(defaultTask, myTaskManager.getActiveTask()); assertTrue(defaultTask.isDefault()); assertEquals(1, myChangeListManager.getChangeLists().size()); assertEquals(1, defaultTask.getChangeLists().size()); assertEquals(defaultTask, myTaskManager.getAssociatedTask(myChangeListManager.getChangeLists().get(0))); assertEquals(defaultTask.getChangeLists().get(0).id, myChangeListManager.getChangeLists().get(0).getId()); assertEquals(defaultTask.getChangeLists().get(0), new ChangeListInfo(myChangeListManager.getChangeLists().get(0))); }