@Test
	public void testMaskScalars() {

		// Verify the contents of the table
		InstructionTableDataObject cell00 =
			(InstructionTableDataObject) previewTable.getModel().getValueAt(6, 0);
		assertEquals(cell00.getData().trim(), "83 c4 0c");

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

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

		// Now grab the preview panel content and check again.  If the last param
		// is masked then it worked.
		cell00 = (InstructionTableDataObject) previewTable.getModel().getValueAt(6, 0);
		assertEquals(cell00.getData().trim(), "83 c4 [........]");
	}
Tests the mask all scalars tool.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/instructionsearch/InstructionSearchTest.java