    @Test
    public void update() throws Exception {

        Integer id = 0;
        url = uri + "/" + id;
        IosVersion iosVersion = new IosVersion();
        String contentAsString = put(url, iosVersion);
        logger.info(contentAsString);

        id = 20;
        url = uri + "/" + id;
        iosVersion.setAppId(24);
        iosVersion.setGrayReleased(1);
        iosVersion.setAppStoreUrl("url");
        contentAsString = put(url, iosVersion);
        logger.info(contentAsString);

        iosVersion.setAllowLowestVersion("2.0.0.0");
        iosVersion.setAppVersion("1.0.0.0");
        contentAsString = put(url, iosVersion);
        logger.info(contentAsString);

        iosVersion.setAllowLowestVersion("2.0.0.0");
        iosVersion.setAppVersion("3.0.0.0");
        contentAsString = put(url, iosVersion);
        logger.info(contentAsString);
    }