Package org.milyn.payload

Examples of org.milyn.payload.JavaSourceWithoutEventStream


    @Test
    public void convertStringToJavaSourceWithoutEventStream()
    {
        final String payload = "dummyPayload";
        final JavaSourceWithoutEventStream javaSource = typeConverter.convertTo(JavaSourceWithoutEventStream.class, payload);
        final Map<String, Object> beans = javaSource.getBeans();
        final String actualPayload = (String) beans.get("string");

        assertThat(payload, is(actualPayload));
    }
View Full Code Here


    }

    @Converter
    public static JavaSourceWithoutEventStream toJavaSourceWithoutEventStream(Object payload)
    {
        return new JavaSourceWithoutEventStream(payload);
    }
View Full Code Here

TOP

Related Classes of org.milyn.payload.JavaSourceWithoutEventStream

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.