Package com.jelastic.model

Examples of com.jelastic.model.Deploy$JelasticResponse


    @Test
    public void deployErrorTest() throws Exception {
        ObjectMapper mapper = new ObjectMapper();
        URL url = this.getClass().getClassLoader().getResource("deploy_error.json");
        Deploy deploy = mapper.readValue(url, Deploy.class);
        assertEquals(deploy.getError(), "application [8129583aae37a4b556d36dbd56abbc68,8129583aae37a4b556d36dbd56abbc68] not exist");
    }
View Full Code Here


    @Test
    public void deployOkTest() throws Exception {
        ObjectMapper mapper = new ObjectMapper();
        URL url = this.getClass().getClassLoader().getResource("deploy_ok.json");
        Deploy deploy = mapper.readValue(url, Deploy.class);
        assertEquals(deploy.getResponse().getResult(), 0);
    }
View Full Code Here

TOP

Related Classes of com.jelastic.model.Deploy$JelasticResponse

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.