public void TestCreateProcessDefinition()
        {
            ProcessDefinitionManager manager = new ProcessDefinitionManager();
            ProcessDefinition        data    = new ProcessDefinition();

            manager.CreateProcessDefinition(data);
            manager.Dispose();
        }
        public void TestCreateProcessDefinitionAsync2()
        {
            ProcessDefinitionManager manager = new ProcessDefinitionManager();
            ProcessDefinition        data    = new ProcessDefinition();
            Task task = Task.Run(() => manager.CreateProcessDefinitionAsync(data));

            task.Wait();
            manager.Dispose();
        }