@Override
  @Test
  public void simpleCreateShouldWork() throws RepositoryException, URISyntaxException, IOException {
    final Node node = createBasicNode();

    // try to inject some data to create a new version... already not possible to create a node with
    // a versions object :)
    final JSONNode version;
    try {
      version = (JSONNode) accessor.convertFrom("{\"properties\" : {}}");
    } catch (Exception e) {
      throw new RuntimeException(e);
    }

    try {
      getAccessor().perform(node, "foo", API.CREATE_OR_UPDATE, version, context);
      failBecauseExceptionWasNotThrown(UnsupportedOperationException.class);
    } catch (UnsupportedOperationException e) {
      assertThat(e.getLocalizedMessage()).contains("create", "update");
    }
  }