@Test
	public void testGetSetMostRecentlyUsed() throws Exception {
		DataType dt = new ByteDataType();
		plugin.setRecentlyUsed(dt);
		assertTrue(dt.isEquivalent(plugin.getRecentlyUsed()));

		ArrayList<DataType> list = new ArrayList<>();
		program.getListing().getDataTypeManager().findDataTypes("ArrayStruct", list);
		dt = list.get(0);
		plugin.setRecentlyUsed(dt);
		assertTrue(dt.isEquivalent(plugin.getRecentlyUsed()));
	}
Test the favorites and data manager services.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/datamgr/FavoritesAndMiscTest.java