예제 #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void testDiscoveryListingOnStandaloneDoesNotContainHA() throws Exception
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
        public virtual void TestDiscoveryListingOnStandaloneDoesNotContainHA()
        {
            FunctionalTestHelper helper = new FunctionalTestHelper(_server);

            JaxRsResponse response = RestRequest.req().get(helper.ManagementUri());

            IDictionary <string, object> map = JsonHelper.jsonToMap(response.Entity);

            assertEquals(2, ((System.Collections.IDictionary)map["services"]).Count);
        }
예제 #2
0
 private string GetBasePath(FunctionalTestHelper helper)
 {
     return(helper.ManagementUri() + "/" + BASE_PATH);
 }