test_class.declarator: dlg
test_class.modifier: private
test_class.original_string: private Group dlg;
test_class.type: Group
test_class.var_name: dlg
test_class.declarator: memberDlg
test_class.modifier: private
test_class.original_string: private User memberDlg;
test_class.type: User
test_class.var_name: memberDlg
test_class.declarator: group
test_class.modifier: private
test_class.original_string: private GroupImpl group;
test_class.type: GroupImpl
test_class.var_name: group
test_class.file: oak-core/src/test/java/org/apache/jackrabbit/oak/security/user/autosave/GroupImplTest.java
test_class.identifier: GroupImplTest
test_class.superclass: extends AbstractAutoSaveTest
test_case.body: @Test
      public void testRemoveInvalidMember() throws Exception {
          assertFalse(group.removeMember(memberDlg));
          verify(dlg, never()).removeMember(memberDlg);
          verify(autosaveMgr, times(1)).autosave();
      }
test_case.class_method_signature: GroupImplTest.testRemoveInvalidMember()
test_case.full_signature: @Test public void testRemoveInvalidMember()
test_case.identifier: testRemoveInvalidMember
test_case.invocations: assertFalse removeMember removeMember verify never autosave verify times
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testRemoveInvalidMember()
focal_class.file: oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/autosave/GroupImpl.java
focal_class.identifier: GroupImpl
focal_class.interfaces: implements Group
focal_class.class_method_signature: GroupImpl.GroupImpl(Group dlg, AutoSaveEnabledManager mgr)
focal_class.full_signature:   GroupImpl(Group dlg, AutoSaveEnabledManager mgr)
focal_class.identifier: GroupImpl
focal_class.parameters: (Group dlg, AutoSaveEnabledManager mgr)
focal_class.signature:  GroupImpl(Group dlg, AutoSaveEnabledManager mgr)
focal_class.class_method_signature: GroupImpl.getDelegate()
focal_class.full_signature: private Group getDelegate()
focal_class.identifier: getDelegate
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Group
focal_class.signature: Group getDelegate()
focal_class.class_method_signature: GroupImpl.getDeclaredMembers()
focal_class.full_signature: @NotNull @Override public Iterator<Authorizable> getDeclaredMembers()
focal_class.identifier: getDeclaredMembers
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: ()
focal_class.return: Iterator<Authorizable>
focal_class.signature: Iterator<Authorizable> getDeclaredMembers()
focal_class.class_method_signature: GroupImpl.getMembers()
focal_class.full_signature: @NotNull @Override public Iterator<Authorizable> getMembers()
focal_class.identifier: getMembers
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: ()
focal_class.return: Iterator<Authorizable>
focal_class.signature: Iterator<Authorizable> getMembers()
focal_class.class_method_signature: GroupImpl.isDeclaredMember(@NotNull Authorizable authorizable)
focal_class.full_signature: @Override public boolean isDeclaredMember(@NotNull Authorizable authorizable)
focal_class.identifier: isDeclaredMember
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull Authorizable authorizable)
focal_class.return: boolean
focal_class.signature: boolean isDeclaredMember(@NotNull Authorizable authorizable)
focal_class.class_method_signature: GroupImpl.isMember(@NotNull Authorizable authorizable)
focal_class.full_signature: @Override public boolean isMember(@NotNull Authorizable authorizable)
focal_class.identifier: isMember
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull Authorizable authorizable)
focal_class.return: boolean
focal_class.signature: boolean isMember(@NotNull Authorizable authorizable)
focal_class.class_method_signature: GroupImpl.addMember(@NotNull Authorizable authorizable)
focal_class.full_signature: @Override public boolean addMember(@NotNull Authorizable authorizable)
focal_class.identifier: addMember
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull Authorizable authorizable)
focal_class.return: boolean
focal_class.signature: boolean addMember(@NotNull Authorizable authorizable)
focal_class.class_method_signature: GroupImpl.addMembers(@NotNull String... memberIds)
focal_class.full_signature: @NotNull @Override public Set<String> addMembers(@NotNull String... memberIds)
focal_class.identifier: addMembers
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (@NotNull String... memberIds)
focal_class.return: Set<String>
focal_class.signature: Set<String> addMembers(@NotNull String... memberIds)
focal_class.class_method_signature: GroupImpl.removeMember(@NotNull Authorizable authorizable)
focal_class.full_signature: @Override public boolean removeMember(@NotNull Authorizable authorizable)
focal_class.identifier: removeMember
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull Authorizable authorizable)
focal_class.return: boolean
focal_class.signature: boolean removeMember(@NotNull Authorizable authorizable)
focal_class.class_method_signature: GroupImpl.removeMembers(@NotNull String... memberIds)
focal_class.full_signature: @NotNull @Override public Set<String> removeMembers(@NotNull String... memberIds)
focal_class.identifier: removeMembers
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (@NotNull String... memberIds)
focal_class.return: Set<String>
focal_class.signature: Set<String> removeMembers(@NotNull String... memberIds)
focal_class.class_method_signature: GroupImpl.isValid(@NotNull Authorizable a)
focal_class.full_signature: private boolean isValid(@NotNull Authorizable a)
focal_class.identifier: isValid
focal_class.modifiers: private
focal_class.parameters: (@NotNull Authorizable a)
focal_class.return: boolean
focal_class.signature: boolean isValid(@NotNull Authorizable a)
focal_class.superclass: extends AuthorizableImpl
focal_method.body: @Override
      public boolean removeMember(@NotNull Authorizable authorizable) throws RepositoryException {
          try {
              if (isValid(authorizable)) {
                  return getDelegate().removeMember(((AuthorizableImpl) authorizable).getDlg());
              } else {
                  return false;
              }
          } finally {
              getMgr().autosave();
          }
      }
focal_method.class_method_signature: GroupImpl.removeMember(@NotNull Authorizable authorizable)
focal_method.full_signature: @Override public boolean removeMember(@NotNull Authorizable authorizable)
focal_method.identifier: removeMember
focal_method.invocations: isValid removeMember getDelegate getDlg autosave getMgr
focal_method.modifiers: @Override public
focal_method.parameters: (@NotNull Authorizable authorizable)
focal_method.return: boolean
focal_method.signature: boolean removeMember(@NotNull Authorizable authorizable)