What Is Mocking and Why Use It?
Introduction
Adding Mocks to the Test
Advanced Mocking Concepts
Test Doubles
Writing a Test without Mocks
Summary
Extending the AccountOpeningService
Argument Matchers
Configuring Your First Mocked Methods
Introduction
Chaining Multiple Mocks in a Single Test
Configuring Void Mocked Methods
Recap and Summary
Configuring Exception Throwing on Mocks
Using EasyMock Annotations
Verifying the Order of Method Calls
Relaxing Expected Method Call Counts
Verifying Mocks
Introduction
Method Stubbing without Verification
Verifying the Unexpected
Summary
Using the EasyMockSupport Class
Introduction
Testing Code That Deals with Time: Understanding the Challenge
Final Methods and Summary
Testing Code That Deals with Time: Solving the Puzzle
Partial Mocks
Certification
You will get a certificate on completing this course.
University
This course is not affiliated with any university.
Price
This course costs very less.
Edvicer's Rewards
You can get a cashback of ₹ 100 on buying this course.
Limited Time Discount Offers
Save your money with Edvicer. Check out our premium courses with discount offers.
Save your money with Edvicer. Check out our premium courses with discount offers.
Map your Career
Not sure which job profiles this course will open for you? Check out our AI based tool to get a complete personalized career map.
Not sure which job profiles this course will open for you? Check out our AI based tool to get a complete personalized career map.
Certification
You will get a certificate on completing this course.
University
This course is not affiliated with any university.
Price
This course costs very less.
Edvicer's Rewards
You can get a cashback of ₹ 100 on buying this course.
Dependencies between application classes make it difficult to write unit tests. EasyMock enables you to focus on the unit-under-test by using mocks. Youââ¬â¢ll gain full control over the behavior of dependencies and enhance your unit testing skills.
Course Overview
What Is Mocking and Why Use It?
Introduction
Adding Mocks to the Test
Advanced Mocking Concepts
Test Doubles
Writing a Test without Mocks
Summary
Extending the AccountOpeningService
Argument Matchers
Configuring Your First Mocked Methods
Introduction
Chaining Multiple Mocks in a Single Test
Configuring Void Mocked Methods
Recap and Summary
Configuring Exception Throwing on Mocks
Using EasyMock Annotations
Verifying the Order of Method Calls
Relaxing Expected Method Call Counts
Verifying Mocks
Introduction
Method Stubbing without Verification
Verifying the Unexpected
Summary
Using the EasyMockSupport Class
Introduction
Testing Code That Deals with Time: Understanding the Challenge
Final Methods and Summary
Testing Code That Deals with Time: Solving the Puzzle
Partial Mocks
Write your review of Getting Started with EasyMock
![]() | ![]() | ![]() |
![]() | ![]() | ![]() |
![]() | ![]() | ![]() |