public void SavePDF_should_throw_EndpointUnreachableException_when_server_unavailable() { Func <Task> act = async() => await _s3Client.SavePDF("test", new byte[1]); act.Should().Throw <EndpointUnreachableException>(); }