@Test
	public void testFavoritesOnPointer() throws Exception {
		init(complexStructure, pgmBbCat);

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

		assertEquals(325, getModel().getLength());
		assertEquals(23, getModel().getNumComponents());
		setSelection(new int[] { 3 });
		invoke(fav);
		assertEquals(325, getModel().getLength());
		assertEquals(23, getModel().getNumComponents());
		assertTrue(((Pointer) getDataType(3)).getDataType().isEquivalent(dt));
		assertEquals("word *32", getDataType(3).getName());
		assertEquals(4, getLength(3));
	}
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