void () { assertEquals(FileTemplatesScheme.DEFAULT, myTemplateManager.getCurrentScheme()); FileTemplate template = myTemplateManager.getTemplate(TEST_TEMPLATE_TXT); assertEquals(HI_THERE, template.getText()); String newText = "good bye"; template.setText(newText); assertEquals(newText, myTemplateManager.getTemplate(TEST_TEMPLATE_TXT).getText()); myTemplateManager.setCurrentScheme(myTemplateManager.getProjectScheme()); assertEquals(HI_THERE, myTemplateManager.getTemplate(TEST_TEMPLATE_TXT).getText()); myTemplateManager.setCurrentScheme(FileTemplatesScheme.DEFAULT); assertEquals(newText, myTemplateManager.getTemplate(TEST_TEMPLATE_TXT).getText()); }