@Test public void testRoundtripVersionInfo() throws MalformedURLException { Study study = new Study(); Assert.assertNull(study.getVersionInfo()); study.setVersionInfo("1"); URL resource = StudyClient.upload(study, new URL(TEST_SERVER)); Study roundtripped = StudyClient.download(resource); Assert.assertNotNull(roundtripped.getVersionInfo()); Assert.assertEquals("1", roundtripped.getVersionInfo()); }