AbstractTreePermission implements TreePermission { @Override public boolean canReadProperties() { return false; } AbstractTreePermission(@NotNull Tree tree, @NotNull TreeType type); @Override @NotNull TreePermission getChildPermission(@NotNull String childName, @NotNull NodeState childState); @Override boolean canRead(); @Override boolean canRead(@NotNull PropertyState property); @Override boolean canReadAll(); @Override boolean canReadProperties(); @Override boolean isGranted(long permissions); @Override boolean isGranted(long permissions, @NotNull PropertyState property);  }
@Test public void testCanReadProperties() { AbstractTreePermission atp = createAbstractTreePermission(tree, TreeType.DEFAULT, pp); assertFalse(atp.canReadProperties()); }