public void setNewBaselineDefinitionAndDeleteBaselineDefinitionTest()
        {
            RemoteDataStoreService target = new RemoteDataStoreService();
            Guid          pReqID          = new Guid();
            DataContainer pNBLDef         = new DataContainer();

            pNBLDef.Columns = new List <string>();
            pNBLDef.Rows    = new List <string>();
            pNBLDef.Columns.Add("BaselineVersion");
            pNBLDef.Columns.Add("BaselineDescription");
            pNBLDef.Columns.Add("BaselineCreationDate");
            pNBLDef.Columns.Add("PISBaseDataPackageVersion");
            pNBLDef.Columns.Add("PISMissionDataPackageVersion");
            pNBLDef.Columns.Add("PISInfotainmentDataPackageVersion");
            pNBLDef.Columns.Add("LMTDataPackageVersion");

            string lBaselineVer = "11.12.13.14";

            pNBLDef.Rows.Add(lBaselineVer);
            pNBLDef.Rows.Add("SetNewBaselineTest");
            pNBLDef.Rows.Add(DateTime.Now.ToString());
            pNBLDef.Rows.Add("11.12.13.14");
            pNBLDef.Rows.Add("11.12.13.14");
            pNBLDef.Rows.Add("11.12.13.14");
            pNBLDef.Rows.Add("11.12.13.14");

            Assert.IsFalse(target.checkIfBaselineExists(lBaselineVer));

            target.setNewBaselineDefinition(pReqID, pNBLDef);
            Assert.IsTrue(target.checkIfBaselineExists(lBaselineVer));

            target.deleteBaselineDefinition(lBaselineVer);
            Assert.IsFalse(target.checkIfBaselineExists(lBaselineVer));
        }
        public void checkIfBaselineExistsTest()
        {
            RemoteDataStoreService target = new RemoteDataStoreService();
            string pBLVersion             = "1.0.0.0";
            bool   expected = true;
            bool   actual;

            actual = target.checkIfBaselineExists(pBLVersion);
            Assert.AreEqual(expected, actual);
            pBLVersion = "24.23.22.21";
            expected   = false;
            actual     = target.checkIfBaselineExists(pBLVersion);
            Assert.AreEqual(expected, actual);
        }