Representation test2 = create(id2, true);
// change the representations to be sure to force an update even if the
// implementation checks for changes before updating a representation
test1.add(field, "test value 1");
test2.add(field, "test value 2");
Iterable<Representation> updatedIterable = yard.update(Arrays.asList(test1, test2));
assertNotNull(updatedIterable);
Collection<Representation> updated = asCollection(updatedIterable.iterator());
// test that both the parsed Representations where stored (updated & created)
assertTrue(updated.remove(test1));
assertTrue(updated.remove(test2));