Package com.cumulocity.rest.representation.builder

Examples of com.cumulocity.rest.representation.builder.EventRepresentationBuilder


        assertThat(request.getRepresentation().getClass()).isEqualTo(EventRepresentation.class);
        assertThat(((EventRepresentation)request.getRepresentation()).getText()).isEqualTo("text##");
    }

    private EventRepresentation eventRepresentation() {
        return new EventRepresentationBuilder()
            .withText("text##")
            .withSource(source())
            .build();
    }
View Full Code Here

TOP

Related Classes of com.cumulocity.rest.representation.builder.EventRepresentationBuilder

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.