Esempio n. 1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void periodicCommitTest() throws Exception
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
        public virtual void PeriodicCommitTest()
        {
            ServerTestUtils.withCSVFile(2, url =>
            {
                // begin
                HTTP.Response begin = _http.POST("db/data/cypher", quotedJson("{ 'query': 'USING PERIODIC COMMIT 100 LOAD CSV FROM \\\"" + url + "\\\" AS line CREATE ();' }"));
                assertThat(begin.status(), equalTo(200));
            });
        }