public void CreateObjTestTheGoodRetrunValueType()
        {
            var test = new TaskModelMapper();

            QarnotSDK.QTask task          = new QarnotSDK.QTask(FakeSDKConnection.GetFakeConnection(), "name");
            var             returnSetting = test.CreateObj(task);

            Assert.IsTrue(returnSetting is CommandValues.TaskCommandValue);
        }
        public void CreateObjVerifyTheValuesSet()
        {
            var test = new TaskModelMapper();

            QarnotSDK.QTask task          = new QarnotSDK.QTask(FakeSDKConnection.GetFakeConnection(), "name");
            var             returnSetting = test.CreateObj(task) as CommandValues.TaskCommandValue;

            Assert.AreEqual(returnSetting.Name, task.Name);
            Assert.AreEqual(returnSetting.Shortname, task.Shortname);
            Assert.AreEqual(returnSetting.Uuid, task.Uuid.ToString());
            Assert.AreEqual(returnSetting.Profile, task.Profile);
            Assert.AreEqual(returnSetting.State, task.State);
            Assert.AreEqual(returnSetting.InstanceCount, task.InstanceCount);
        }