Representation test2 = yard.getValueFactory().createRepresentation(id2); // create
test2.add(field, testValue); // add value
yard.store(test2);// store
assertTrue(yard.isRepresentation(test1.getId())); // test if stored
assertTrue(yard.isRepresentation(test2.getId()));
yard.removeAll(); // remove
assertFalse(yard.isRepresentation(test1.getId())); // test if removed
assertFalse(yard.isRepresentation(test2.getId()));
//test that Yard is still useable after removeAll
yard.store(test1);// store
assertTrue(yard.isRepresentation(test1.getId())); // test if stored