public void CreateBucket_Should_throw_BucketExistsException_when_bucket_exists() { Func <Task> act = async() => await _s3Client.CreateBucket("existingbucket"); act.Should().Throw <BucketExistsException>(); }
public void CreateBucket_should_throw_EndpointUnreachableException_when_server_unavailable() { Func <Task> act = async() => await _s3Client.CreateBucket("test"); act.Should().Throw <EndpointUnreachableException>(); }