protected void checkInvalidModel(AbstractCreateDataTypeModel model, String errorMessage) {

		try {
			model.validate();
			Assert.fail("Model validation should have failed.");
		}
		catch (InvalidDataTypeException e) {
			// Should fail validation with expected error message.
			assertEquals(errorMessage, e.getMessage());
		}
	}
Creates a 64 bit program builder that can be used for testing.
@return the program builder for a 64 bit non-VisualStudio x86 PE program.
@throws Exception if it fails to create the ProgramBuilder
Ghidra/Features/MicrosoftCodeAnalyzer/src/test/java/ghidra/app/cmd/data/AbstractCreateDataTypeModelTest.java