title: How to mock or stub AWS SDK S3 bucket calls in Scala or Java?
body: <p>I've created an application using the Akka HTTP framework and Scala, that sends files to my S3 bucket using the SDK.</p>
  
  <p>I'm trying to write unit and integration tests for the code and I am unsure about how to mock or stub these external calls, as it does not look like the SDK is making any obvious HTTP or WS calls.</p>
  
  <p>Is there a library that can mock or stub S3 bucket calls, which is also compatible with Scala or Java?</p>