Skip to content

Inject WriterInterface and use it for testing #15

@h-bragg

Description

@h-bragg

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions