protected Rtti2Model doCheckRtti2Model(ProgramDB program, long rtti2Address,
			long[] rtti1Addresses, DataValidationOptions validationOptions)
			throws InvalidDataTypeException {

		Address addressRtti2 = addr(program, rtti2Address);
		int numEntries = rtti1Addresses.length;
		Rtti2Model model2 = new Rtti2Model(program, numEntries, addressRtti2, validationOptions);
		model2.validate();
		assertEquals(addressRtti2, model2.getAddress());
		for (int i = 0; i < numEntries; i++) {
			assertEquals(addr(program, rtti1Addresses[i]), model2.getRtti1Address(i)); // each RTTI 1 pointer.
		}
		return model2;
	}
Abstract class that is extended by the RTTI tests.
It provides setup and validation methods for the tests.
Ghidra/Features/MicrosoftCodeAnalyzer/src/test/java/ghidra/app/cmd/data/rtti/AbstractRttiTest.java