public void AddOrReplaceDescription_NonExistingDescription_DescriptionAdded()
        {
            IDescription        description     = MockEmptyDataset1();
            List <IDescription> descriptions    = new List <IDescription>();
            IListDescription    listDescription = new ListDescription(mockedLogger, descriptions);

            Assert.IsEmpty(listDescription.Descriptions);

            listDescription.AddOrReplaceDescription(description);

            Assert.AreEqual(listDescription.Descriptions.Count, 1);
        }
        public void AddOrReplaceDescription_ExistingDescription_DescriptionReplaced()
        {
            IDescription        description  = MockFullDataset1();
            List <IDescription> descriptions = new List <IDescription>
            {
                description
            };

            IListDescription listDescription = new ListDescription(mockedLogger, descriptions);

            Assert.AreEqual(listDescription.Descriptions[0].Properties.Count, 2);


            IDescription descriptionNew = MockEmptyDataset1();

            listDescription.AddOrReplaceDescription(descriptionNew);

            Assert.AreEqual(listDescription.Descriptions[0].Properties.Count, 0);
        }