@Test
    public void testMergeWithParentFolderCmd() throws Exception {

		MergeFolderCmd cmd = new MergeFolderCmd("Main Tree", "B", "A");

		ProgramModule module = program.getListing().getModule("Main Tree", "A");
		Group[] groups = module.getChildren();
		assertEquals(4, groups.length);
		applyCmd(program, cmd);

		module = program.getListing().getModule("Main Tree", "A");
		groups = module.getChildren();
		assertEquals(6, groups.length);

		assertEquals("a", groups[0].getName());
		assertEquals("b", groups[1].getName());
		assertEquals("c", groups[2].getName());
		assertEquals("d", groups[3].getName());
		assertEquals("e", groups[4].getName());
		assertEquals("f", groups[5].getName());

		assertEquals(1, module.getNumParents());
	}
Sets up the fixture, for example, open a network connection.
This method is called before a test is executed.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/cmd/module/MergeFolderCmdTest.java