@Test
	public void testGetInt() throws Exception {
		block.setBigEndian(true);
		DataConverter conv = BigEndianDataConverter.INSTANCE;

		for (int i = 0; i < 20; i++) {
			byte[] b = new byte[4];
			System.arraycopy(buf, i + 4, b, 0, b.length);
			assertEquals(conv.getInt(b), block.getInt(BigInteger.valueOf(i + 4)));

		}
		block.setBigEndian(false);
		conv = LittleEndianDataConverter.INSTANCE;
		for (int i = 0; i < 12; i++) {
			byte[] b = new byte[4];
			System.arraycopy(buf, i + 4, b, 0, b.length);
			assertEquals(conv.getInt(b), block.getInt(BigInteger.valueOf(i + 4)));
		}

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