//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void shouldFailIfTryingToReturnPropsOfDeletedRelationshipRest() public virtual void ShouldFailIfTryingToReturnPropsOfDeletedRelationshipRest() { // given Graphdb().execute("CREATE (:Start)-[:MARKER {p: 'a property'}]->(:End)"); // execute and commit HTTP.Response commit = _http.POST(_commitResource, QueryAsJsonRest("MATCH (s)-[r:MARKER]->(e) DELETE r RETURN r.p")); assertThat("Error raw response: " + commit.RawContent(), commit, hasErrors(Org.Neo4j.Kernel.Api.Exceptions.Status_Statement.EntityNotFound)); assertThat(commit.Status(), equalTo(200)); assertThat(NodesInDatabase(), equalTo(2L)); }