Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Mockito Fundamentals

via Pluralsight

Overview

This course will teach you how to use Mockito. Mockito is one of the most widely used libraries for Java software development, helping millions of developers to write better tests.

In this course, Mockito Fundamentals, you’ll learn to apply the Mockito framework to your tests, making them easier to manage and extend. First, you’ll explore the Mockito framework and what it is used for. Next, you’ll discover how to apply basic object mocks and verify the outcomes. Additionally, you'll learn how to leverage partial mock objects. Finally, you’ll learn how to apply Mockito’s advanced features such as mocking final types, methods and using @Mock annotations. When you’re finished with this course, you’ll have the skills and knowledge of mocking objects needed to develop outstanding tests.

Syllabus

  • Course Overview 1min
  • Mocking and Stubbing Basics 14mins
  • Mocking and Stubbing Like a Pro 49mins
  • Almost Real – Leveraging Real Objects 10mins
  • Mockito Advanced Features 19mins

Taught by

Aleksandar Vladimirov

Reviews

Start your review of Mockito Fundamentals

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.