public FunctionalTestHelper(NeoServer server) { if (server.Database == null) { //JAVA TO C# CONVERTER WARNING: The .NET Type.FullName property will not always yield results identical to the Java Class.getName method: throw new Exception("Server must be started before using " + this.GetType().FullName); } this._helper = new GraphDbHelper(server.Database); this._server = server; this._request = new RestRequest(server.BaseUri().resolve("db/data/")); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @BeforeClass public static void setupServer() public static void SetupServer() { _functionalTestHelper = new FunctionalTestHelper(Server()); _helper = _functionalTestHelper.GraphDbHelper; }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Before public void cleanTheDatabaseAndInitialiseTheNodeUri() throws Exception //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: public virtual void CleanTheDatabaseAndInitialiseTheNodeUri() { _helper = new GraphDbHelper(Server().Database); _nodeUri = new URI(_functionalTestHelper.nodeUri() + "/" + _helper.createNode()); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @BeforeClass public static void setupServer() public static void SetupServer() { _functionalTestHelper = new FunctionalTestHelper(Server()); _helper = _functionalTestHelper.GraphDbHelper; _request = RestRequest.Req(); }