@Test(expected = YardException.class)
 public void testStoreOnReadOnlyYard() throws YardException {
   RdfRepresentation rep =
       RdfValueFactory.getInstance().createRepresentation("http://www.test.org/addedEntity");
   rep.addReference(RDF.type.getUnicodeString(), SKOS.Concept.getUnicodeString());
   rep.addNaturalText(SKOS.prefLabel.getUnicodeString(), "added Entity", "en");
   rep.addNaturalText(SKOS.prefLabel.getUnicodeString(), "hinzugefüte Entity", "de");
   readonlyYard.store(rep);
 }
  @Test
  public void testModificationsOnReadWirteYard() throws YardException {
    RdfRepresentation rep =
        RdfValueFactory.getInstance().createRepresentation("http://www.test.org/addedEntity");
    rep.addReference(RDF.type.getUnicodeString(), SKOS.Concept.getUnicodeString());
    rep.addNaturalText(SKOS.prefLabel.getUnicodeString(), "added Entity", "en");
    rep.addNaturalText(SKOS.prefLabel.getUnicodeString(), "hinzugefüte Entity", "de");

    readwriteYard.store(rep);
    // test that the data where added and modified in the read/wirte grpah
    validateEntity(
        readwriteYard, singletonMap(rep.getNode(), rep.getRdfGraph()).entrySet().iterator().next());
    readwriteYard.remove(rep.getId());
    Assert.assertNull(
        "Representation "
            + rep.getId()
            + " was not correctly "
            + "deleted from "
            + readwriteYard.getId(),
        readwriteYard.getRepresentation(rep.getId()));
  }