Examples of Mood


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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