Mastering Java & Spring Framework Essentials Bundle

4 Courses & 11 Hours
You save 81%

What's Included

JUnit & Mockito Unit Testing for Java Developers
  • Experience level required: Beginner
  • Access 61 lectures & 2 hours of content 24/7
  • Length of time users can access this course: Lifetime

Course Curriculum

61 Lessons (2h)

  • Your First Program
  • Unit Testing Foundations
  • Creating a Java Project which uses JUnit
  • Writing and Running Unit Tests with JUnit and IntelliJ IDEA
  • Unit Testing with Mock Objects and Mockito
  • Looking at the Hamcrest Assertions Library

JUnit & Mockito Unit Testing for Java Developers

Matt SpeakeMatt Speake | Java Technologist | Online Instructor
4.4/5 Instructor Rating: ★ ★ ★ ★

Matt Speake is a professional software engineer specializing in Java technologies. He has over 20 years of experience working everywhere from small startups to large global corporations and is the principal trainer at Zention in the UK. He specializes in teaching all things related to Java technology. He is a published instructor on Udemy, Skillshare, StackSkills, Packt, and O'Reilly and on the JavaEasily platform.


Do you want to get hands-on demonstrations of JUnit and Mockito in action, want a simple no-fluff guide to how unit testing works, including getting an understanding of best practices along the way? This course packs all the good stuff that's been distilled down through the years - it's the best practice and gets you up and running with knowing the stuff the APIs don't tell you. This course covers writing tests with JUnit and mock objects-based unit tests with Mockito. You'll also learn how to harness the power of Hamcrest to do more powerful assertions.

4.7/5 average rating: ★ ★ ★ ★

  • Access 61 lectures & 2 hours of content 24/7
  • Write unit tests confidently using JUnit
  • Appreciate mocking & mock objects
  • Use Mockito to create test fixtures, stub methods by programmatic & annotation-driven test setup
  • Analyze production code to guide writing unit tests
  • Gain an appreciation of the JUnit Assertions API
  • Understand modern unit testing concepts & best practices
  • Write assertions using Hamcrest


Important Details

  • Length of time users can access this course: lifetime
  • Access options: desktop & mobile
  • Certificate of completion included
  • Redemption deadline: redeem your code within 30 days of purchase
  • Updates included
  • Experience level required: beginner
  • Have questions on how digital purchases work? Learn more here


  • Some knowledge of coding in Java to at least a basic level


  • Unredeemed licenses can be returned for store credit within 30 days of purchase. Once your license is redeemed, all sales are final.
Your Cart
Your cart is empty. Continue Shopping!
Processing order...