private void assertTableTagCount(String name, int expected) {

		waitForSwing();
		FunctionTagTableModel model = provider.getSourcePanel().getModel();
		waitForTableModel(model);

		FunctionTagRowObject rowObject = model.getRowObject(name);
		assertNotNull(rowObject);
		assertEquals("Tag count in table is incorrect", expected, rowObject.getCount());
	}
Returns true if the button with the given name is enabled.

@param name the button name
@return true if enabled
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/function/tags/FunctionTagPluginTest.java