Sign in Go Pro

The Android MVP Pattern

Writing FAST jUnit JVM Tests with Mockito

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson

Up next



In this Lesson you will learn: - How to write insanely fast unit tests within Android Studio with jUnit 4 and Mockito - How to create mock objects with mockito - How to create a simple mock interaction behavior - How to completely decouple your presenter for test with no dependencies on Android, internet, databases and the like through mock objects and interfaces - How to mock the repository layer - How to mock the view layer - What the `@Before` annotation in jUnit 4 is for and how it works Links - [Passive View]( - [Repository Pattern]( - [jUnit4]( - [Mockito](

Lessons in The Android MVP Pattern