LiferayConnectionWizardDefinition extends AbstractComponentWizardDefintion { @Override public String getImagePath(DefinitionImageType definitionImageType) { if (definitionImageType == DefinitionImageType.TREE_ICON_16X16) { return "LiferayWizard_icon_16x16.png"; } else if (definitionImageType == DefinitionImageType.WIZARD_BANNER_75X66) { return "LiferayWizard_banner_75x66.png"; } return null; }  @Override ComponentWizard createWizard(
		ComponentProperties componentProperties, String location); @Override ComponentWizard createWizard(String location); @Override String getIconKey(); @Override String getImagePath(DefinitionImageType definitionImageType); @Override String getName(); @Override String getPngImagePath(WizardImageType wizardImageType); @Override Class getPropertiesClass(); @Override boolean isTopLevel(); @Override boolean supportsProperties(
		Class<? extends ComponentProperties> propertiesClass); static final String COMPONENT_WIZARD_NAME; }
@Test public void testImagePath() { Assert.assertNotNull( _liferayConnectionWizardDefinition.getImagePath( DefinitionImageType.TREE_ICON_16X16)); Assert.assertNotNull( _liferayConnectionWizardDefinition.getImagePath( DefinitionImageType.WIZARD_BANNER_75X66)); Assert.assertNull( _liferayConnectionWizardDefinition.getImagePath( DefinitionImageType.SVG_ICON)); }