Stubbing consecutive calls with Mockito
22nd Nov 2021 by Aneesh Mistry

Stubbing consecutive methods

Learn how Mockito supports the testing of multiple method outcomes in a concise and readable way with consecutive stubbed calls. This video will explore when we may need to stub and test different method outcomes, and how you can achieve this with Mockito without repeating multiple lines of test code.

Mockito #SoftwareTesting #JUnit

YouTube video link


Share this post