rubenochiavone / rastreio-java

A Java library for tracking Correios' shipments.
https://rubenochiavone.github.io/rastreio-java
Apache License 2.0
5 stars 1 forks source link

Add new library to mock Rastreio methods #5

Open rubenochiavone opened 4 years ago

rubenochiavone commented 4 years ago

It would be great if Rastreio class behavior could be mocked to perform testing.

In that way, it could be created a new library inside this project that extends Rastreio class allowing it mock its methods results.

Something similar to mockwebserver from okhttp (ref: https://github.com/square/okhttp/tree/master/mockwebserver).