test_class.file: oak-security-spi/src/test/java/org/apache/jackrabbit/oak/spi/security/principal/GroupPrincipalsTest.java
test_class.identifier: GroupPrincipalsTest
test_case.body: @Test
      public void testIsMemberOfGroupPrincipal() {
          GroupPrincipal gp = mock(GroupPrincipal.class);
          Principal p = mock(Principal.class);
  
          GroupPrincipals.isMember(gp, p);
          verify(gp, times(1)).isMember(p);
      }
test_case.class_method_signature: GroupPrincipalsTest.testIsMemberOfGroupPrincipal()
test_case.full_signature: @Test public void testIsMemberOfGroupPrincipal()
test_case.identifier: testIsMemberOfGroupPrincipal
test_case.invocations: mock mock isMember isMember verify times
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testIsMemberOfGroupPrincipal()
focal_class.file: oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/GroupPrincipals.java
focal_class.identifier: GroupPrincipals
focal_class.class_method_signature: GroupPrincipals.GroupPrincipals()
focal_class.full_signature: private  GroupPrincipals()
focal_class.identifier: GroupPrincipals
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  GroupPrincipals()
focal_class.class_method_signature: GroupPrincipals.isGroup(@NotNull Principal principal)
focal_class.full_signature: public static boolean isGroup(@NotNull Principal principal)
focal_class.identifier: isGroup
focal_class.modifiers: public static
focal_class.parameters: (@NotNull Principal principal)
focal_class.return: boolean
focal_class.signature: boolean isGroup(@NotNull Principal principal)
focal_class.class_method_signature: GroupPrincipals.members(@NotNull Principal principal)
focal_class.full_signature: @NotNull public static Enumeration<? extends Principal> members(@NotNull Principal principal)
focal_class.identifier: members
focal_class.modifiers: @NotNull public static
focal_class.parameters: (@NotNull Principal principal)
focal_class.return: Enumeration<? extends Principal>
focal_class.signature: Enumeration<? extends Principal> members(@NotNull Principal principal)
focal_class.class_method_signature: GroupPrincipals.isMember(@NotNull Principal principal, @NotNull Principal member)
focal_class.full_signature: public static boolean isMember(@NotNull Principal principal, @NotNull Principal member)
focal_class.identifier: isMember
focal_class.modifiers: public static
focal_class.parameters: (@NotNull Principal principal, @NotNull Principal member)
focal_class.return: boolean
focal_class.signature: boolean isMember(@NotNull Principal principal, @NotNull Principal member)
focal_method.body: public static boolean isMember(@NotNull Principal principal, @NotNull Principal member) {
          if (principal instanceof GroupPrincipal) {
              return ((GroupPrincipal) principal).isMember(member);
          }
          return false;
      }
focal_method.class_method_signature: GroupPrincipals.isMember(@NotNull Principal principal, @NotNull Principal member)
focal_method.full_signature: public static boolean isMember(@NotNull Principal principal, @NotNull Principal member)
focal_method.identifier: isMember
focal_method.invocations: isMember
focal_method.modifiers: public static
focal_method.parameters: (@NotNull Principal principal, @NotNull Principal member)
focal_method.return: boolean
focal_method.signature: boolean isMember(@NotNull Principal principal, @NotNull Principal member)