public void ShouldReturnNullForAnUnknownItem()
        {
            var assetDataTemplateSelector = new AssetDataTemplateSelector();

            var result = assetDataTemplateSelector.SelectTemplate(new object(), null);

            Assert.IsNull(result);
        }
        public void ShouldReturnImageAssetDataTemplateForAnImageAsset()
        {
            var assetDataTemplateSelector = new AssetDataTemplateSelector();

            var dataTemplate = new DataTemplate();

            assetDataTemplateSelector.ImageAssetDataTemplate = dataTemplate;

            var result = assetDataTemplateSelector.SelectTemplate(new ImageAsset(), null);

            Assert.AreEqual(dataTemplate, result);
        }