@Test
	public void testLoadPreview() {

		// Make sure it has the number of rows and columns.
		assertEquals(previewTable.getRowCount(), 8);
		assertEquals(previewTable.getColumnCount(), 1);

		// Verify the contents of the table
		InstructionTableDataObject obj00 =
			(InstructionTableDataObject) previewTable.getModel().getValueAt(0, 0);
		InstructionTableDataObject obj10 =
			(InstructionTableDataObject) previewTable.getModel().getValueAt(1, 0);
		InstructionTableDataObject obj20 =
			(InstructionTableDataObject) previewTable.getModel().getValueAt(2, 0);
		InstructionTableDataObject obj30 =
			(InstructionTableDataObject) previewTable.getModel().getValueAt(3, 0);
		InstructionTableDataObject obj40 =
			(InstructionTableDataObject) previewTable.getModel().getValueAt(4, 0);
		InstructionTableDataObject obj50 =
			(InstructionTableDataObject) previewTable.getModel().getValueAt(5, 0);
		InstructionTableDataObject obj60 =
			(InstructionTableDataObject) previewTable.getModel().getValueAt(6, 0);
		InstructionTableDataObject obj70 =
			(InstructionTableDataObject) previewTable.getModel().getValueAt(7, 0);

		assertEquals(obj00.getData().trim(), "47");
		assertEquals(obj10.getData().trim(), "57");
		assertEquals(obj20.getData().trim(), "8d 45 08");
		assertEquals(obj30.getData().trim(), "50");
		assertEquals(obj40.getData().trim(), "ff 75 0c");
		assertEquals(obj50.getData().trim(), "e8 84 2c 00 00");
		assertEquals(obj60.getData().trim(), "83 c4 0c");
		assertEquals(obj70.getData().trim(), "89 45 fc");
	}
Tests that the {@link PreviewTable} is properly loaded when instructions are selected.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/instructionsearch/InstructionSearchTest.java