//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: private void testCorsAllowMethods(org.neo4j.server.web.HttpMethod method, String origin) throws Exception private void TestCorsAllowMethods(HttpMethod method, string origin) { HTTP.Builder requestBuilder = RequestWithHeaders("authDisabled", "authDisabled").withHeaders(ACCESS_CONTROL_REQUEST_METHOD, method.ToString()); HTTP.Response response = RunQuery(requestBuilder); assertEquals(OK.StatusCode, response.Status()); AssertCorsHeaderEquals(response, origin); assertEquals(method, HttpMethod.valueOf(response.Header(ACCESS_CONTROL_ALLOW_METHODS))); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: private void testCorsAllowMethods(org.neo4j.server.web.HttpMethod method) throws Exception private void TestCorsAllowMethods(HttpMethod method) { TestCorsAllowMethods(method, "*"); }