public void Given_Container_When_WithContainer_Invoked_Then_It_Should_Return_Value(string container) { var instance = new BlobStorageSchemaSink(); instance.WithContainer(container); instance.Container.Should().Be(container); }
public void Given_Null_Container_When_WithContainer_Invoked_Then_It_Should_Throw_Exception() { var instance = new BlobStorageSchemaSink(); Action action = () => instance.WithContainer(null); action.Should().Throw <ArgumentNullException>(); }