Stub sendMessage on Spock mocks of the SQS async client

Proprietary

In modules migrated off Spring Cloud AWS 2.x messaging, adds a sendMessage(_) stub that returns a completed v2 SendMessageResponse with a message id to Groovy Mock(AmazonSQSAsync) { ... } closures that do not mention sendMessage, as io.awspring 3's SqsTemplate needs one.

io.moderne.java.spring.cloud.aws.StubSqsSendInGroovyMocks
mod run . --recipe=io.moderne.java.spring.cloud.aws.StubSqsSendInGroovyMocks

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.