Package com.prancingdonkey.statistics

Examples of com.prancingdonkey.statistics.ActivityReport


    @Test
    public void testRegular() throws Exception
    {
        MuleClient muleClient = new MuleClient(muleContext);

        ActivityReport payload = new ActivityReport();
        payload.setValue1("1");
        payload.setValue2("2");

        MuleMessage result = muleClient.send("vm://xstream_xml-to-object-regular.in", payload, null);
        assertThat(result, is(notNullValue()));
        assertThat(result.getPayload(), is(notNullValue()));
        assertThat(result.getPayload(), is(instanceOf(ActivityReport.class)));
View Full Code Here


    @Test
    public void testAlias() throws Exception
    {
        MuleClient muleClient = new MuleClient(muleContext);

        ActivityReport payload = new ActivityReport();
        payload.setValue1("1");
        payload.setValue2("2");

        MuleMessage result = muleClient.send("vm://xstream_xml-to-object-alias.in", payload, null);
        assertThat(result, is(notNullValue()));
        assertThat(result.getPayload(), is(notNullValue()));
        assertThat(result.getPayload(), is(instanceOf(ActivityReport.class)));
View Full Code Here

    }

    @Override
    protected Object doTransform(Object src, String encoding) throws TransformerException
    {
        return new ActivityReport();
    }
View Full Code Here

TOP

Related Classes of com.prancingdonkey.statistics.ActivityReport

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.