@Test
	public void testFavoritesFixedOnMultiple() {
		init(simpleStructure, pgmBbCat);

		DataType dt = getModel().getOriginalDataTypeManager().getDataType("/byte");
		assertNotNull(dt);
		FavoritesAction fav = new FavoritesAction(provider, dt);

		int num = getModel().getNumComponents();
		setSelection(new int[] { 2, 3 });
		DataType dt4 = getDataType(4);
		invoke(fav);
		assertTrue(getDataType(3).isEquivalent(dt));
		assertTrue(getDataType(8).isEquivalent(dt4));
		checkSelection(new int[] { 2, 3, 4, 5, 6, 7 });
		assertEquals(num + 4, getModel().getNumComponents());
	}
Edit an existing structure and create a structure from a selection. Use the conflicting 
names followed by a good non-default name.
@throws Exception if the test throws an exception
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/compositeeditor/StructureEditorLockedActions3Test.java