//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void shouldGetErrorWhenUsingCreateUniqueWhenCypherVersionIs3_4() public virtual void ShouldGetErrorWhenUsingCreateUniqueWhenCypherVersionIs3_4() { // expect exception Thrown.expect(typeof(QueryExecutionException)); Thrown.expectMessage("CREATE UNIQUE is no longer supported. You can achieve the same result using MERGE"); // when Db().execute("CYPHER 3.4 MATCH (b) WITH b LIMIT 1 CREATE UNIQUE (b)-[:REL]->()"); }