@Before
	public void setUp() throws Exception {

		program = createDefaultProgram(testName.getMethodName(), ProgramBuilder._TOY, this);
		dataMgr = program.getDataTypeManager();
		listing = program.getListing();
		space = program.getAddressFactory().getDefaultAddressSpace();
		transactionID = program.startTransaction("Test");
		addBlock();

		struct = new StructureDataType("test", 0);
		struct.add(new ByteDataType(), "field0", "Comment1");
		struct.add(new WordDataType(), null, "Comment2");
		struct.add(new DWordDataType(), "field3", null);
		struct.add(new ByteDataType(), "field4", "Comment4");
		struct = (Structure) dataMgr.resolve(struct, null);

		Structure s = new StructureDataType("inner", 0);
		s.add(new ByteDataType(), null, null);
		s.add(new WordDataType(), "word field", null);
		s = (Structure) dataMgr.resolve(s, null);

		struct.insert(1, s);

	}
To change the template for this generated type comment go to
Window>Preferences>Java>Code Generation>Code and Comments
Ghidra/Features/Base/src/test.slow/java/ghidra/program/database/data/ArrayTest.java