Examples of Mood


Examples of rocks.xmpp.extensions.mood.model.Mood

    @Test
    public void unmarshalAroused() throws XMLStreamException, JAXBException {
        String xml = "<mood xmlns='http://jabber.org/protocol/mood'>\n" +
                "  <aroused/>\n" +
                "</mood>\n";
        Mood mood = unmarshal(xml, Mood.class);
        Assert.assertNotNull(mood);
        Assert.assertEquals(mood.getValue(), Mood.Value.AROUSED);
    }
View Full Code Here

Examples of rocks.xmpp.extensions.mood.model.Mood

    @Test
    public void unmarshalAshamed() throws XMLStreamException, JAXBException {
        String xml = "<mood xmlns='http://jabber.org/protocol/mood'>\n" +
                "  <ashamed/>\n" +
                "</mood>\n";
        Mood mood = unmarshal(xml, Mood.class);
        Assert.assertNotNull(mood);
        Assert.assertEquals(mood.getValue(), Mood.Value.ASHAMED);
    }
View Full Code Here

Examples of rocks.xmpp.extensions.mood.model.Mood

    @Test
    public void unmarshalBored() throws XMLStreamException, JAXBException {
        String xml = "<mood xmlns='http://jabber.org/protocol/mood'>\n" +
                "  <bored/>\n" +
                "</mood>\n";
        Mood mood = unmarshal(xml, Mood.class);
        Assert.assertNotNull(mood);
        Assert.assertEquals(mood.getValue(), Mood.Value.BORED);
    }
View Full Code Here

Examples of rocks.xmpp.extensions.mood.model.Mood

    @Test
    public void unmarshalBrave() throws XMLStreamException, JAXBException {
        String xml = "<mood xmlns='http://jabber.org/protocol/mood'>\n" +
                "  <brave/>\n" +
                "</mood>\n";
        Mood mood = unmarshal(xml, Mood.class);
        Assert.assertNotNull(mood);
        Assert.assertEquals(mood.getValue(), Mood.Value.BRAVE);
    }
View Full Code Here

Examples of rocks.xmpp.extensions.mood.model.Mood

    @Test
    public void unmarshalCalm() throws XMLStreamException, JAXBException {
        String xml = "<mood xmlns='http://jabber.org/protocol/mood'>\n" +
                "  <calm/>\n" +
                "</mood>\n";
        Mood mood = unmarshal(xml, Mood.class);
        Assert.assertNotNull(mood);
        Assert.assertEquals(mood.getValue(), Mood.Value.CALM);
    }
View Full Code Here

Examples of rocks.xmpp.extensions.mood.model.Mood

    @Test
    public void unmarshalCautious() throws XMLStreamException, JAXBException {
        String xml = "<mood xmlns='http://jabber.org/protocol/mood'>\n" +
                "  <cautious/>\n" +
                "</mood>\n";
        Mood mood = unmarshal(xml, Mood.class);
        Assert.assertNotNull(mood);
        Assert.assertEquals(mood.getValue(), Mood.Value.CAUTIOUS);
    }
View Full Code Here

Examples of rocks.xmpp.extensions.mood.model.Mood

    @Test
    public void unmarshalCold() throws XMLStreamException, JAXBException {
        String xml = "<mood xmlns='http://jabber.org/protocol/mood'>\n" +
                "  <cold/>\n" +
                "</mood>\n";
        Mood mood = unmarshal(xml, Mood.class);
        Assert.assertNotNull(mood);
        Assert.assertEquals(mood.getValue(), Mood.Value.COLD);
    }
View Full Code Here

Examples of rocks.xmpp.extensions.mood.model.Mood

    @Test
    public void unmarshalConfident() throws XMLStreamException, JAXBException {
        String xml = "<mood xmlns='http://jabber.org/protocol/mood'>\n" +
                "  <confident/>\n" +
                "</mood>\n";
        Mood mood = unmarshal(xml, Mood.class);
        Assert.assertNotNull(mood);
        Assert.assertEquals(mood.getValue(), Mood.Value.CONFIDENT);
    }
View Full Code Here

Examples of rocks.xmpp.extensions.mood.model.Mood

    @Test
    public void unmarshalConfused() throws XMLStreamException, JAXBException {
        String xml = "<mood xmlns='http://jabber.org/protocol/mood'>\n" +
                "  <confused/>\n" +
                "</mood>\n";
        Mood mood = unmarshal(xml, Mood.class);
        Assert.assertNotNull(mood);
        Assert.assertEquals(mood.getValue(), Mood.Value.CONFUSED);
    }
View Full Code Here

Examples of rocks.xmpp.extensions.mood.model.Mood

    @Test
    public void unmarshalContemplative() throws XMLStreamException, JAXBException {
        String xml = "<mood xmlns='http://jabber.org/protocol/mood'>\n" +
                "  <contemplative/>\n" +
                "</mood>\n";
        Mood mood = unmarshal(xml, Mood.class);
        Assert.assertNotNull(mood);
        Assert.assertEquals(mood.getValue(), Mood.Value.CONTEMPLATIVE);
    }
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.