@Test public void testRoundtripAbstract() throws MalformedURLException { Study study = new Study(); Assert.assertNull(study.getAbstract()); study.setAbstract("This is an abstract"); URL resource = StudyClient.upload(study, new URL(TEST_SERVER)); Study roundtripped = StudyClient.download(resource); Assert.assertNotNull(roundtripped.getAbstract()); Assert.assertEquals(19, roundtripped.getAbstract().length()); }