void () { final TemplateImpl template = TemplateSettings.getInstance().getTemplate("T", "HTML/XML"); TestCase.assertTrue(isApplicable("<foo><caret> </foo>", template)); TestCase.assertFalse(isApplicable("<foo bar=\"<caret>\"></foo>", template)); }