iZettle/izettle-toolbox — pull request #7 by oskarwiksten (2013-10-03 11:50:20+00:00)
Title: Allow callers to specify the AmazonSNSClient instance

* For callers that do not want to use the static AmazonSNSClientFactory, allow PublisherService to take an explicit AmazonSNSClient as parameter.
* Makes unit testing easier, since you can pass a mocked instance.
* Makes managed lifetime handling of the sns client easier, since you can get a handle on the instance to call shutdown() later.

Ping @mikaellothman