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

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

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

            QarnotSDK.QPool pool          = new QarnotSDK.QPool(FakeSDKConnection.GetFakeConnection(), "name");
            var             returnSetting = test.CreateObj(pool) as CommandValues.PoolCommandValue;

            Assert.AreEqual(returnSetting.Name, pool.Name);
            Assert.AreEqual(returnSetting.Shortname, pool.Shortname);
            Assert.AreEqual(returnSetting.Uuid, pool.Uuid.ToString());
            Assert.AreEqual(returnSetting.Profile, pool.Profile);
            Assert.AreEqual(returnSetting.State, pool.State);
            Assert.AreEqual(returnSetting.NodeCount, pool.NodeCount);
        }