public virtual void ShouldGet404WhenRetrievingNonExistentNode() { long nonExistentNode = _helper.createNode(); _helper.deleteNode(nonExistentNode); URI nonExistentNodeUri = new URI(_functionalTestHelper.nodeUri() + "/" + nonExistentNode); GenConflict.get().expectedStatus(404).get(nonExistentNodeUri.ToString()); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Before public void setupTheDatabase() public virtual void SetupTheDatabase() { _nodeWithRelationships = _helper.createNode(); _likes = _helper.createRelationship("LIKES", _nodeWithRelationships, _helper.createNode()); _helper.createRelationship("LIKES", _helper.createNode(), _nodeWithRelationships); _helper.createRelationship("HATES", _nodeWithRelationships, _helper.createNode()); _nodeWithoutRelationships = _helper.createNode(); _nonExistingNode = _helper.createNode(); _helper.deleteNode(_nonExistingNode); }