@Test
	public void testMaskAddresses() {

		InstructionTableDataObject cell50 =
			(InstructionTableDataObject) previewTable.getModel().getValueAt(5, 0);
		assertEquals(cell50.getData().trim(), "e8 84 2c 00 00");

		// Now activate the address mask tool, which should mask out the last param
		// of the ADD instruction.
		pressButtonByName(component, "mask addresses button");

		// Wait for the button select to finish.
		dialog.waitForCurrentTask();

		// Now grab the preview panel content and check again.
		cell50 = (InstructionTableDataObject) previewTable.getModel().getValueAt(5, 0);
		assertEquals(cell50.getData().trim(), "e8 [........] [........] [........] [........]");
	}
Tests the mask all addresses tool.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/instructionsearch/InstructionSearchTest.java