Adding Tests or Test Data

Prev Next

Do not modify anything above the marker or it will be lost when migrating the adapter.

  • You can modify existing method tests by:
    • Adding additional asserts.
    • Adding data to send on the requests.
  • You can also add new tests.
    • You can test additional errors using test double.
    • You can use additional mock data to test errors as well.
    • If you add calls to the adapter manually, you should add tests to the Unit and Integration test files so that those methods can be tested properly.