public void ItMapsAFolderAsAFolder()
        {
            var catalogItem = A.CatalogItem()
                .WithType(ItemTypeEnum.Folder)
                .Build();

            var mapper = new NativeCatalogItemInfoMapper();

            var catalogItemInfo = mapper.MapFromCatalogItem(catalogItem);

            Assert.AreEqual(CatalogItemType.Folder, catalogItemInfo.Type);
        }
        public void ItMapsLinkedReportAsOther()
        {
            var catalogItem = A.CatalogItem()
                .WithType(ItemTypeEnum.LinkedReport)
                .Build();

            var mapper = new NativeCatalogItemInfoMapper();

            var catalogItemInfo = mapper.MapFromCatalogItem(catalogItem);

            Assert.AreEqual(CatalogItemType.Other, catalogItemInfo.Type);
        }
        public void ItMapsPathForPath()
        {
            var catalogItem = A.CatalogItem().Build();

            var mapper = new NativeCatalogItemInfoMapper();

            var catalogItemInfo = mapper.MapFromCatalogItem(catalogItem);

            Assert.AreEqual(catalogItem.Path, catalogItemInfo.Path);
        }
        public void ItMapsTheNameAsIs()
        {
            var catalogItem = A.CatalogItem().Build();

            var mapper = new NativeCatalogItemInfoMapper();

            var catalogItemInfo = mapper.MapFromCatalogItem(catalogItem);

            Assert.AreEqual(catalogItem.Name, catalogItemInfo.Name);
        }