boolean (@NotNull String text, Class<? extends TemplateContextType> ...contextsToDisable) { myFixture.configureByText(JsonFileType.INSTANCE, text); final Template template = createJsonTemplate("foo", "foo", "[42]", contextsToDisable); return TemplateManagerImpl.isApplicable(myFixture.getFile(), myFixture.getCaretOffset(), (TemplateImpl)template); }