FetchNamespaceListObject() public method

Fetches the name space list object.
public FetchNamespaceListObject ( PluginSource pluginSource ) : NamespaceList
pluginSource Dev2.Runtime.ServiceModel.Data.PluginSource The plugin source.
return NamespaceList
        public void PluginRuntimeHandler_FetchNamespaceListObject_WhenNullDll_ExpectException()
        {
            //------------Setup for test--------------------------
            var pluginRuntimeHandler = new PluginRuntimeHandler();

            //------------Execute Test---------------------------
            pluginRuntimeHandler.FetchNamespaceListObject(null);
        }
        public void PluginRuntimeHandler_FetchNamespaceListObject_WhenNullLocationInSource_ExpectException()
        {
            //------------Setup for test--------------------------
            var pluginRuntimeHandler = new PluginRuntimeHandler();
            var source = CreatePluginSource(true);

            //------------Execute Test---------------------------
            pluginRuntimeHandler.FetchNamespaceListObject(source);

        }
        public void PluginRuntimeHandler_FetchNamespaceListObject_WhenValidDll_ExpectNamespaces()
        {
            //------------Setup for test--------------------------
            var pluginRuntimeHandler = new PluginRuntimeHandler();
            var source = CreatePluginSource();

            //------------Execute Test---------------------------
            var result = pluginRuntimeHandler.FetchNamespaceListObject(source);

            //------------Assert Results-------------------------
            Assert.IsTrue(result.Count > 0);
        }