/*
 * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

/*
 * $Id: TestServlet.java 62525 2011-04-15 12:14:31Z dougd $
 */
package com.sun.ts.tests.jsf.api.javax_faces.event.postvalidateevent;

import com.sun.ts.tests.jsf.api.javax_faces.event.common.BaseComponentSystemEventTestServlet;
import javax.faces.component.UICommand;
import javax.faces.component.UIComponent;
import javax.faces.event.ComponentSystemEvent;
import javax.faces.event.PostValidateEvent;


public class TestServlet extends BaseComponentSystemEventTestServlet {

    private static final UICommand uic = new UICommand();

    @Override
    protected ComponentSystemEvent createEvent(UIComponent component) {
        return new PostValidateEvent(component);
    }

    @Override
    protected UIComponent getTestComponent() {
        return uic;
    }

    //------------------------------------------------------------ test methods

}
