@Test
	public void testCreateArray() throws Exception {

		Array array =
			(Array) dataMgr.resolve(new ArrayDataType(struct, 5, struct.getLength()), null);
		assertEquals(5, array.getNumElements());
		int structLen = struct.getLength();
		assertEquals(5 * structLen, array.getLength());
	}
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