}
@Test
public void testCreateCollection() throws IOException{
try {
CustomCollection collection = client.constructInterface(CustomCollectionsService.class).createCustomCollection(new CustomCollection().setTitle("Test 123"));
Assert.assertTrue(collection.getId()>0);
client.constructInterface(CustomCollectionsService.class).deleteCustomCollection(collection.getId());
} catch (BadRequestException e) {
throw new RuntimeException(e.getResponse().readEntity(String.class));
}
}