UserContext implements Context, UserConstants { @Override public boolean definesInternal(@NotNull Tree tree) { return false; } private  UserContext(); @Override boolean definesProperty(@NotNull Tree parent, @NotNull PropertyState property); @Override boolean definesContextRoot(@NotNull Tree tree); @Override boolean definesTree(@NotNull Tree tree); @Override boolean definesLocation(@NotNull TreeLocation location); @Override boolean definesInternal(@NotNull Tree tree);  }
@Test public void testDefinesInternal() { for (String ntName : NT_NAMES) { assertFalse(ctx.definesInternal(mockTree("anyName", ntName))); } }