@Test
	public void testDisassemblerCircularFlow() throws Exception {

		programBuilder.addBytesBranchConditional(10, 20);
		programBuilder.addBytesReturn(12);

		programBuilder.addBytesBranchConditional(20, 10);
		programBuilder.addBytesReturn(22);

		AddressSetView disAddrs = disassembler.disassemble(addr(10), null);
		assertEquals(addrset(range(10, 13), range(20, 23)), disAddrs);

		verifyInstructionPresence();

		verifyNoBookmarks();

	}
+-> 10: breq 20 --+ (start)
|   12: ret       |
|                 |
+-- 20: breq 10 <-+
    22: ret
    
Test circular flow
Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/program/disassemble/DisassemblerTest.java