001package de.cuioss.test.jsf.mocks;
002
003import javax.faces.component.FacesComponent;
004import javax.faces.component.UIComponentBase;
005
006/**
007 * Simple Mock component to be used for cases where you need an "any-component"
008 *
009 * @author Oliver Wolff
010 *
011 */
012@FacesComponent(CuiMockComponent.COMPONENT_TYPE)
013public class CuiMockComponent extends UIComponentBase {
014
015    /** "mockFamily" */
016    public static final String FAMILY = "mockFamily";
017
018    /** "mockRendererType" */
019    public static final String RENDERER_TYPE = "mockRendererType";
020
021    /** "mockComponentType" */
022    public static final String COMPONENT_TYPE = "mockComponentType";
023
024    @Override
025    public String getFamily() {
026        return FAMILY;
027    }
028
029    @Override
030    public String getRendererType() {
031        return RENDERER_TYPE;
032    }
033
034}