We should create test Client, which mocks actual client API and just ensures the Request types produce correct URIs, and then tries to deserialise predefined response string into correspondent Request::Response type.
Take example requests and responses from VK developer docs.
Also test real Client with fake Request to make sure it calls correct request methods and sends real requests to VK API.
We should create test
Client, which mocks actual client API and just ensures theRequesttypes produce correct URIs, and then tries to deserialise predefined response string into correspondentRequest::Responsetype.Take example requests and responses from VK developer docs.
Also test real
Clientwith fakeRequestto make sure it calls correct request methods and sends real requests to VK API.