Package rocks.xmpp.extensions.mood.model

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


        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><in_awe></in_awe></mood>");
    }

    @Test
    public void marshalInLove() throws XMLStreamException, JAXBException {
        String xml = marshal(new Mood(Mood.Value.IN_LOVE));
        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><in_love></in_love></mood>");
    }
View Full Code Here


        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><in_love></in_love></mood>");
    }

    @Test
    public void marshalIndignant() throws XMLStreamException, JAXBException {
        String xml = marshal(new Mood(Mood.Value.INDIGNANT));
        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><indignant></indignant></mood>");
    }
View Full Code Here

        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><indignant></indignant></mood>");
    }

    @Test
    public void marshalInterested() throws XMLStreamException, JAXBException {
        String xml = marshal(new Mood(Mood.Value.INTERESTED));
        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><interested></interested></mood>");
    }
View Full Code Here

        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><interested></interested></mood>");
    }

    @Test
    public void marshalIntoxicated() throws XMLStreamException, JAXBException {
        String xml = marshal(new Mood(Mood.Value.INTOXICATED));
        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><intoxicated></intoxicated></mood>");
    }
View Full Code Here

        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><intoxicated></intoxicated></mood>");
    }

    @Test
    public void marshalInvincible() throws XMLStreamException, JAXBException {
        String xml = marshal(new Mood(Mood.Value.INVINCIBLE));
        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><invincible></invincible></mood>");
    }
View Full Code Here

        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><invincible></invincible></mood>");
    }

    @Test
    public void marshalJealous() throws XMLStreamException, JAXBException {
        String xml = marshal(new Mood(Mood.Value.JEALOUS));
        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><jealous></jealous></mood>");
    }
View Full Code Here

        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><jealous></jealous></mood>");
    }

    @Test
    public void marshalonely() throws XMLStreamException, JAXBException {
        String xml = marshal(new Mood(Mood.Value.LONELY));
        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><lonely></lonely></mood>");
    }
View Full Code Here

        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><lonely></lonely></mood>");
    }

    @Test
    public void marshalucky() throws XMLStreamException, JAXBException {
        String xml = marshal(new Mood(Mood.Value.LUCKY));
        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><lucky></lucky></mood>");
    }
View Full Code Here

        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><lucky></lucky></mood>");
    }

    @Test
    public void marshalMean() throws XMLStreamException, JAXBException {
        String xml = marshal(new Mood(Mood.Value.MEAN));
        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><mean></mean></mood>");
    }
View Full Code Here

        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><mean></mean></mood>");
    }

    @Test
    public void marshalMoody() throws XMLStreamException, JAXBException {
        String xml = marshal(new Mood(Mood.Value.MOODY));
        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><moody></moody></mood>");
    }
View Full Code Here

TOP

Related Classes of rocks.xmpp.extensions.mood.model.Mood

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.