void () { myRepository.setShouldFormatCommitMessage(true); myRepository.setCommitMessageFormat("{id} {summary} {number} {project}"); Task task = myRepository.findTask("TEST-001"); assertNotNull(task); runOpenTaskDialog(task); myChangeListManager.waitUntilRefreshed(); LocalTask localTask = myTaskManager.getActiveTask(); assertNotNull(localTask); assertEquals("TEST-001", localTask.getId()); List<ChangeListInfo> lists = localTask.getChangeLists(); assertEquals(1, lists.size()); assertEquals("TEST-001 Summary 001 TEST", lists.get(0).comment); }