void () { TaskManagerImpl.Config config = getConfig(); config.branchNameFormat = "{id}"; config.changelistNameFormat = "{id} {summary}"; myTaskManager.loadState(config); assertEquals("${id}", myTaskManager.getState().branchNameFormat); assertEquals("${id} ${summary}", myTaskManager.getState().changelistNameFormat); }