RetroFit2
Unit Testing with Mockito
Autoplay
Up next
Previous
About
Unit testing is critical to developing high quality Android applications. In this lesson learn how to make sure you have tested the various paths of your asynchronous Retrofit calls using Mockito.
In this lesson you will learn:
How to configure Mocks and ArugmentCaptors with Mockito
How to set up your unit tests for Retrofit callbacks
How to use ArgumentCaptor to call methods on anonymous classes
Instructor
Links
Comments
Lessons in RetroFit2
Setting up Retrofit 2 and Issuing a HTTP GET Request
Pro
06:15
Exploring Get Requests with @Query and @Path Parameters via Annotations

Pro
05:25
Configuring a HTTP Logging Interceptor for the OkHttpClient

Pro
08:16
Issuing HTTP POST Requests with @Body and @Field Parameters

Pro
05:00
Issuing HTTP PUT Requests to Update Entities with the @Body and @Path Annotations

Pro
04:46
Issuing HTTP DELETE Requests

Pro
03:03
Caching Requests and Responses with the Cache-Control Header

Pro
05:43
Enabling an Offline Cache with OkHttp

07:39
Using HTTP PATCH Requests to Update Portions of an Entity

Pro
04:18
Unit Testing with Mockito

Pro
08:31
Modifying Request URLs and Headers with OkHttp

Pro
06:29
Retrofit 2 with RxJava

Pro
05:19

Something went wrong
Lesson added to playlist
Create new playlist
Name can't be empty