Exemple #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void canGetExtensionDataForCreateNode() throws Exception
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
        public virtual void CanGetExtensionDataForCreateNode()
        {
            IDictionary <string, object> map = PluginFunctionalTestHelper.MakeGet(_functionalTestHelper.dataUri());

            map = (IDictionary <string, object>)map["extensions"];
            map = (IDictionary <string, object>)map[typeof(FunctionalTestPlugin).Name];

            assertThat(( string )map[FunctionalTestPlugin.CREATE_NODE], RegExp.EndsWith(string.Format("/ext/{0}/graphdb/{1}", typeof(FunctionalTestPlugin).Name, FunctionalTestPlugin.CREATE_NODE)));
        }