private void verifyMatch(String eqName, String text, long address, boolean seeInListing) {
		ClangToken token = getToken();
		assertTrue(token instanceof ClangVariableToken);
		assertEquals(token.getText(), text);
		HighSymbol symbol = token.getHighVariable().getSymbol();
		assertTrue(symbol instanceof EquateSymbol);
		EquateSymbol eqSym = (EquateSymbol) symbol;
		SymbolEntry entry = eqSym.getFirstWholeMap();
		assertTrue(entry instanceof DynamicEntry);
		DynamicEntry dynEntry = (DynamicEntry) entry;
		assertEquals(dynEntry.getPCAdress().getOffset(), address);
		EquateTable equateTable = program.getEquateTable();
		assertNotNull(equateTable);
		Equate equate = equateTable.getEquate(eqName);
		assertNotNull(equate);
		List<EquateReference> references = equate.getReferences(eqSym.getPCAddress());
		assertEquals(references.size(), 1);
		EquateReference ref = references.get(0);
		assertEquals(equate.getValue(), eqSym.getValue());
		boolean foundHash = false;
		if (ref.getDynamicHashValue() == 0) {
			Instruction instr = program.getListing().getInstructionAt(ref.getAddress());
			long values[] = DynamicHash.calcConstantHash(instr, equate.getValue());
			for (long value : values) {
				if (value == dynEntry.getHash()) {
					foundHash = true;
					break;
				}
			}
		}
		else {
			foundHash = (dynEntry.getHash() == ref.getDynamicHashValue());
		}
		assertTrue(foundHash);
		assertEquals(ref.getOpIndex() >= 0, seeInListing);
	}
Simulate setting an equate on the current token with the given name

@param nm is the given name
Ghidra/Features/Decompiler/src/test.slow/java/ghidra/app/plugin/core/decompile/DecompilerEquateTest.java