Recent changes mean we can remove 'testing' only methods on the Client class.
- Inject a
WriterInterface and use that (could be tricky from a simple usage scenario)
- Remove
getLastMessage and wasSuccessful methods
- Update all tests to use a Mocked
WriterInterface
Recent changes mean we can remove 'testing' only methods on the
Clientclass.WriterInterfaceand use that (could be tricky from a simple usage scenario)getLastMessageandwasSuccessfulmethodsWriterInterface