Assert.assertNotNull(abdera);
}
@Test
public void testAtomPut() throws Exception {
Collection resourceCollection = testService.getCustomerCollection();
Assert.assertNotNull(resourceCollection);
Entry postEntry = postEntry("Sponge Bob");
System.out.println(">>> post entry= " + postEntry.getTitle());
Entry newEntry = resourceCollection.post(postEntry);
System.out.println("<<< Entry posted for " + newEntry.getTitle());
System.out.println(newEntry.getId());
System.out.println(">>> put id=" + newEntry.getId() + " entry=" + newEntry.getTitle());
resourceCollection.put(newEntry.getId().toString(), updateEntry(newEntry, "James Bond"));
System.out.println("<<< put id=" + newEntry.getId() + " entry=" + newEntry.getTitle());
}