Class mozilla.components.service.pocket.stories.api.PocketEndpointTest

6

tests

0

failures

0

ignored

0.116s

duration

100%

successful

Tests

Test Duration Result
GIVEN a PocketEndpoint THEN its visibility is internal 0.001s passed
GIVEN an api request for stories WHEN getting a null response THEN a failure is returned 0.001s passed
GIVEN an api request for stories WHEN getting a response THEN parse map it through PocketJSONParser 0.110s passed
GIVEN an api request for stories WHEN getting a valid response THEN a success with the data is returned 0.002s passed
GIVEN an api request for stories WHEN getting an empty response THEN a failure is returned 0.001s passed
WHEN newInstance is called THEN a new PocketEndpoint is returned as a wrapper over a configured PocketEndpointRaw 0.001s passed