private void setValue(Address address, int value) throws Exception {
		byte[] bytes = getBytes(value);

		int transactionID = program.startTransaction("test");
		memory.setBytes(address, bytes);
		program.endTransaction(transactionID, true);
	}
Tests for the search results "scan" feature
Ghidra/Features/Base/src/test.slow/java/ghidra/features/base/memsearch/MemSearchScanTest.java