Examples of InvitationMessageDisplayElement


Examples of org.xwiki.invitation.test.po.InvitationMessageDisplayElement

    @Test
    @IgnoreBrowser(value = "internet.*", version = "8\\.*", reason="See http://jira.xwiki.org/browse/XE-1146")
    public void testPreviewMessage()
    {
        InvitationMessageDisplayElement preview = getSenderPage().preview();
        Assert.assertTrue(preview.getSubjectLine().contains("has invited you to join"));
        Assert.assertTrue(preview.getMessageBody().contains("If this message looks like abuse of our system"));
        Assert.assertTrue(preview.getValidRecipients().get(0).getText().contains("user@localhost.localdomain"));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.