@Test
	public void testFavoritesVariableOnBlank() throws Exception {
		NumberInputDialog dialog;
		init(simpleStructure, pgmBbCat);

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

		assertEquals(29, getModel().getLength());
		assertEquals(8, getModel().getNumComponents());
		setSelection(new int[] { 4 });
		invoke(fav, false);
		dialog = waitForDialogComponent(NumberInputDialog.class);
		assertNotNull(dialog);
		okInput(dialog, 8);
		dialog = null;
		waitUntilDialogProviderGone(NumberInputDialog.class, 2000);
		assertEquals(29, getModel().getLength());
		assertEquals(8, getModel().getNumComponents());
		assertTrue(getDataType(4).isEquivalent(dt));
		assertEquals(8, getLength(4));
	}
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