@Test
	public void testLoadInstructions() {

		assertEquals(dialog.getSearchData().getInstructions().size(), 8);

		// Make sure the instruction table has the correct number of rows and columns.
		assertEquals(instructionTable.getRowCount(), 8);
		assertEquals(instructionTable.getColumnCount(), 3);

		// And verify the contents of each cell.
		InstructionTableDataObject obj00 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(0, 0);
		InstructionTableDataObject obj10 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(1, 0);
		InstructionTableDataObject obj20 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(2, 0);
		InstructionTableDataObject obj30 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(3, 0);
		InstructionTableDataObject obj40 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(4, 0);
		InstructionTableDataObject obj50 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(5, 0);
		InstructionTableDataObject obj60 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(6, 0);
		InstructionTableDataObject obj70 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(7, 0);

		InstructionTableDataObject obj01 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(0, 1);
		InstructionTableDataObject obj11 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(1, 1);
		InstructionTableDataObject obj21 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(2, 1);
		InstructionTableDataObject obj31 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(3, 1);
		InstructionTableDataObject obj41 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(4, 1);
		InstructionTableDataObject obj51 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(5, 1);
		InstructionTableDataObject obj61 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(6, 1);
		InstructionTableDataObject obj71 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(7, 1);

		InstructionTableDataObject obj02 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(0, 2);
		InstructionTableDataObject obj12 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(1, 2);
		InstructionTableDataObject obj22 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(2, 2);
		InstructionTableDataObject obj32 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(3, 2);
		InstructionTableDataObject obj42 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(4, 2);
		InstructionTableDataObject obj52 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(5, 2);
		InstructionTableDataObject obj62 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(6, 2);
		InstructionTableDataObject obj72 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(7, 2);

		assertEquals("INC", obj00.getData());
		assertEquals("PUSH", obj10.getData());
		assertEquals("LEA", obj20.getData());
		assertEquals("PUSH", obj30.getData());
		assertEquals("PUSH", obj40.getData());
		assertEquals("CALL", obj50.getData());
		assertEquals("ADD", obj60.getData());
		assertEquals("MOV", obj70.getData());

		assertEquals("EDI", obj01.getData());
		assertEquals("EDI", obj11.getData());
		assertEquals("EAX", obj21.getData());
		assertEquals("EAX", obj31.getData());
		assertEquals("dword ptr [EBP + 0xc]", obj41.getData());
		assertEquals("0x00409273", obj51.getData());
		assertEquals("ESP", obj61.getData());
		assertEquals("dword ptr [EBP + -0x4]", obj71.getData());

		assertEquals("", obj02.getData());
		assertEquals("", obj12.getData());
		assertEquals("[EBP + 0x8]", obj22.getData());
		assertEquals("", obj32.getData());
		assertEquals("", obj42.getData());
		assertEquals("", obj52.getData());
		assertEquals("0xc", obj62.getData());
		assertEquals("EAX", obj72.getData());
	}
Tests that selected instructions are properly loaded into the {@link InstructionTable}.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/instructionsearch/InstructionSearchTest.java