MembershipProvider extends AuthorizableBaseProvider { @NotNull Iterator<String> getMembers(@NotNull Tree groupTree, boolean includeInherited) { return getMembers(groupTree, getContentID(groupTree), includeInherited, new HashSet<>()); } MembershipProvider(@NotNull Root root, @NotNull ConfigurationParameters config);   }
@Test public void testGetMembers() throws Exception { Group g = createGroup(); Group member = createGroup(); g.addMember(member); member.addMember(createUser()); root.commit(); Iterator<String> res = mp.getMembers(getTree(g), false); assertEquals(1, Iterators.size(res)); }