Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Implement a mock version of the api #13

Closed
amihaiemil opened this issue Apr 15, 2017 · 1 comment
Closed

Implement a mock version of the api #13

amihaiemil opened this issue Apr 15, 2017 · 1 comment

Comments

@amihaiemil
Copy link
Member

For unit testing, we should also offer a mock version which will work with a JsonBuilder behind the scenes, instead of making real HTTP calls.

When unit testing, instead of using a real instance:

VersionEye api = new RtVersionEye();

Users should use

VersionEye mockApi = new MkVersionEye();
@amihaiemil
Copy link
Member Author

done

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

1 participant