Package org.apache.pluto.container.om.portlet

Examples of org.apache.pluto.container.om.portlet.EventDefinitionReference


       
        final Event event = mock(Event.class);
        final MockPortletDefinitionId portletDefinitionId = new MockPortletDefinitionId(1);
        final PortletApplicationDefinition portletApplicationDefinition = mock(PortletApplicationDefinition.class);
        final PortletDefinition portletDefinition = mock(PortletDefinition.class);
        final EventDefinitionReference searchRequestEventDefinitionReference = mock(EventDefinitionReference.class);
        final EventDefinitionReference searchResultsEventDefinitionReference = mock(EventDefinitionReference.class);
        final EventDefinition searchRequestEventDefinition = mock(EventDefinition.class);
        final EventDefinition searchResultsEventDefinition = mock(EventDefinition.class);
       
        when(event.getQName()).thenReturn(searchRequestName);
       
        when(searchRequestEventDefinitionReference.getQualifiedName(anyString())).thenReturn(searchRequestName);
        when(searchRequestEventDefinitionReference.getQName()).thenReturn(searchRequestName);
       
        when(searchResultsEventDefinitionReference.getQualifiedName(anyString())).thenReturn(searchResultsName);
        when(searchResultsEventDefinitionReference.getQName()).thenReturn(searchResultsName);
       
        when(searchRequestEventDefinition.getQName()).thenReturn(searchRequestName);
        when(searchRequestEventDefinition.getQualifiedName(anyString())).thenReturn(searchRequestName);
       
        when(searchResultsEventDefinition.getQName()).thenReturn(searchResultsName);
View Full Code Here

TOP

Related Classes of org.apache.pluto.container.om.portlet.EventDefinitionReference

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.