// stored, but only that the update method works correctly
Yard yard = getYard();
String id1 = "urn:yard.test.testUpdateRepresentations:representation.id1";
String id2 = "urn:yard.test.testUpdateRepresentations:representation.id2";
String field = "urn:the.field:used.for.this.Test";
Representation test1 = create(id1, true);
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));