Namespaces() public method

public Namespaces ( string args, System.Guid workspaceId, System.Guid dataListId ) : NamespaceList
args string
workspaceId System.Guid
dataListId System.Guid
return NamespaceList
        public void PluginServicesNamespacesWithValidArgsExpectedReturnsList()
        {
            var source = CreatePluginSource();
            var args = source.ToString();
            var workspaceID = Guid.NewGuid();

            EnvironmentVariables.GetWorkspacePath(workspaceID);

            var services = new PluginServices();
            var result = services.Namespaces(args, workspaceID, Guid.Empty);

            // DO NOT assert equality on Count as this will 
            // change as new namespaces are added to this assembly!
            Assert.IsTrue(result.Count > 0);
        }
 public void PluginServicesNamespacesWithInvalidArgsExpectedReturnsEmptyList()
 {
     var services = new PluginServices();
     var result = services.Namespaces("xxxx", Guid.Empty, Guid.Empty);
     Assert.AreEqual(0, result.Count);
 }