Package com.cumulocity.me.rest.representation.identity

Examples of com.cumulocity.me.rest.representation.identity.IdentityRepresentation


   
    @Test
    public void shouldParseWithSimpleProps() throws Exception {
        JSONObject json = new JSONObject("{\"externalId\":\"some_id\",\"externalIdsOfGlobalId\":\"externalIdsOfGlobalId\"}");
       
        IdentityRepresentation parsed = (IdentityRepresentation) converter.fromJson(json);
       
        assertThat(parsed.getExternalId()).isEqualTo(externalId);
        assertThat(parsed.getExternalIdsOfGlobalId()).isEqualTo(externalIdsOfGlobalId);
    }
View Full Code Here

TOP

Related Classes of com.cumulocity.me.rest.representation.identity.IdentityRepresentation

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.