Package org.zeroexchange.web.page.messages.CreateMessage

Examples of org.zeroexchange.web.page.messages.CreateMessage.MessageData


        tester.getRequest().setParameter("subject", "test subject!");
        tester.getRequest().setParameter("body", "test body!");
       
        @SuppressWarnings("unchecked")
        Form<MessageData> form = (Form<MessageData>) tester.getComponentFromLastRenderedPage("createMessageForm");
        MessageData data = form.getModel().getObject();
        data.setRecipients(Collections.singleton(new User()));
       
        tester.clickLink(
                "toolbarContainer:toolbarGroups:0:toolbarItem:link");

        verify(eventsDispatcher).publishEvent(Matchers.<Event>any());
View Full Code Here

TOP

Related Classes of org.zeroexchange.web.page.messages.CreateMessage.MessageData

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.