test_class.file: oak-security-spi/src/test/java/org/apache/jackrabbit/oak/spi/security/privilege/PrivilegeUtilTest.java
test_class.identifier: PrivilegeUtilTest
test_case.body: @Test
      public void testGetPrivilegesTree() {
          Root root = when(mock(Root.class).getTree(PRIVILEGES_PATH)).thenReturn(mock(Tree.class)).getMock();
  
          PrivilegeUtil.getPrivilegesTree(root);
          verify(root, times(1)).getTree(PRIVILEGES_PATH);
      }
test_case.class_method_signature: PrivilegeUtilTest.testGetPrivilegesTree()
test_case.full_signature: @Test public void testGetPrivilegesTree()
test_case.identifier: testGetPrivilegesTree
test_case.invocations: getMock thenReturn when getTree mock mock getPrivilegesTree getTree verify times
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetPrivilegesTree()
focal_class.file: oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/privilege/PrivilegeUtil.java
focal_class.identifier: PrivilegeUtil
focal_class.interfaces: implements PrivilegeConstants
focal_class.class_method_signature: PrivilegeUtil.PrivilegeUtil()
focal_class.full_signature: private  PrivilegeUtil()
focal_class.identifier: PrivilegeUtil
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  PrivilegeUtil()
focal_class.class_method_signature: PrivilegeUtil.getPrivilegesTree(Root root)
focal_class.full_signature: @NotNull public static Tree getPrivilegesTree(Root root)
focal_class.identifier: getPrivilegesTree
focal_class.modifiers: @NotNull public static
focal_class.parameters: (Root root)
focal_class.return: Tree
focal_class.signature: Tree getPrivilegesTree(Root root)
focal_class.class_method_signature: PrivilegeUtil.readDefinition(@NotNull Tree definitionTree)
focal_class.full_signature: @NotNull public static PrivilegeDefinition readDefinition(@NotNull Tree definitionTree)
focal_class.identifier: readDefinition
focal_class.modifiers: @NotNull public static
focal_class.parameters: (@NotNull Tree definitionTree)
focal_class.return: PrivilegeDefinition
focal_class.signature: PrivilegeDefinition readDefinition(@NotNull Tree definitionTree)
focal_method.body: @NotNull
      public static Tree getPrivilegesTree(Root root) {
          return root.getTree(PRIVILEGES_PATH);
      }
focal_method.class_method_signature: PrivilegeUtil.getPrivilegesTree(Root root)
focal_method.full_signature: @NotNull public static Tree getPrivilegesTree(Root root)
focal_method.identifier: getPrivilegesTree
focal_method.invocations: getTree
focal_method.modifiers: @NotNull public static
focal_method.parameters: (Root root)
focal_method.return: Tree
focal_method.signature: Tree getPrivilegesTree(Root root)