@Test
	public void testSetByte() throws Exception {
		block.setByte(BigInteger.ZERO, (byte) 33);
		assertEquals((byte) 33, block.getByte(BigInteger.ZERO));

		blockSet.notifyByteEditing(block, BigInteger.ZERO, new byte[] { (byte) 0 },
			new byte[] { (byte) 33 });

		assertTrue(blockSet.isChanged(block, BigInteger.ZERO, 1));

		block.setByte(BigInteger.valueOf(99), (byte) 33);
		assertEquals((byte) 33, block.getByte(BigInteger.valueOf(99)));

		blockSet.notifyByteEditing(block, BigInteger.valueOf(99), new byte[] { (byte) 99 },
			new byte[] { (byte) 33 });

		assertTrue(blockSet.isChanged(block, BigInteger.valueOf(99), 1));

	}
Tests for the file implementation of a ByteBlockSet and ByteBlock.
Ghidra/Features/ByteViewer/src/test/java/ghidra/app/plugin/core/byteviewer/FileByteBlockTest.java