public void GetRelatedFileExtensionProperty_SingleAssemblyAsset_GetNullProperty(string assembly, string[] assetsPaths, string expectedRelatedProperty) { // Arrange var collection = new ContentItemCollection(); collection.Load(assetsPaths); // Act string relatedProperty = collection.GetRelatedFileExtensionProperty(assembly, CreateAssetsFromPathList(assetsPaths)); // Assert Assert.Equal(expectedRelatedProperty, relatedProperty); }
public void GetRelatedFileExtensionProperty_PlaceHolderAssembly_GetNullProperty() { // Arrange var collection = new ContentItemCollection(); string assembly = "_._"; string[] paths = new string[] { "_._" }; collection.Load(paths); // Act string relatedProperty = collection.GetRelatedFileExtensionProperty(assembly, CreateAssetsFromPathList(paths)); // Assert Assert.Equal(null, relatedProperty); }