protected Rtti1Model doCheckRtti1Model(ProgramDB program, long rtti1Address, long rtti0Address,
			int numBases, int mDisp, int pDisp, int vDisp, int attributes, long rtti3Address,
			DataValidationOptions validationOptions) throws InvalidDataTypeException {

		Address addressRtti1 = addr(program, rtti1Address);
		Rtti1Model model1 = new Rtti1Model(program, addressRtti1, validationOptions);
		model1.validate();
		assertEquals(addressRtti1, model1.getAddress());
		assertEquals(addr(program, rtti0Address), model1.getRtti0Address());
		assertEquals(numBases, model1.getNumBases());
		assertEquals(mDisp, model1.getMDisp());
		assertEquals(pDisp, model1.getPDisp());
		assertEquals(vDisp, model1.getVDisp());
		assertEquals(attributes, model1.getAttributes());
		Address addressRtti3 = addr(program, rtti3Address);
		boolean shouldValidateReferredToData = validationOptions.shouldValidateReferredToData();
		if (shouldValidateReferredToData) {
			Rtti3Model model3 = new Rtti3Model(program, addressRtti3, validationOptions);
			model3.validate();
			assertEquals(addressRtti3, model3.getAddress());
		}
		return model1;
	}
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