public AzureBlob(GenericFile file) { Guard.ArgumentIsNotNull(file, nameof(file)); FileName = file.FileName; Stream = file.Stream; }
public void Map_ShouldMapTheProperties( string fileName, Stream stream) { // Arrange and act using (var genericFile = new GenericFile(fileName, stream)) { // Assert genericFile.FileName.Should().Be(fileName); genericFile.Stream.Should().Be(stream); } }