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); }