public void GetBlobStreamReturnsNullIfNoBlobStreamExists( [Greedy] FakeDataProvider sut, Guid blobId, CallContext context) { sut.GetBlobStream(blobId, context).Should().BeNull(); }
public void GetBlobStreamReturnsBlobStreamFromDataStorage( [Greedy] FakeDataProvider sut, Guid blobId, [Modest] MemoryStream stream, CallContext context) { sut.DataStorage.GetBlobStream(blobId).Returns(stream); sut.GetBlobStream(blobId, context).Should().BeSameAs(stream); }