justin cater
Posts: 19616
Nickname: justin78
Registered: Mar, 2011
Justin Cater is executive editor at Java Code Geeks
Mocks, Spies and Partial Mocks
Posted: Sep 1, 2014 7:01 PM
This post originated from an RSS feed registered with Java Buzz
by justin cater.
Original Post: Mocks, Spies and Partial Mocks
Feed Title: Java Code Geeks
Feed URL: http://feeds.feedburner.com/JavaCodeGeeks
Feed Description: Java 2 Java Developers Resource Center
Latest Java Buzz Posts
Latest Java Buzz Posts by justin cater
Latest Posts From Java Code Geeks
Advertisement
This is the second lesson of our “Testing with Mockito” course . After getting introduced to Mockito and learning why and when Mocks should be used, we are now ready to get into more details regarding Mocks, Stubs and Spies.
We will take an in-depth look at stubbing classes and interfaces using Mockito, and we will also talk about Stubbing void methods and Stubbing return values. Finally, we will discuss Argument Matchers and Spies and Partial Stubbing.
Get started here
Read: Mocks, Spies and Partial Mocks