Mocking with JUnit (Coursera)

Offered by LearnQuest,
Mocking with JUnit (Coursera)

This course gives a foundational knowledge in mocking. What is mocking, why mock and how to mock are all questions that will be answered in this course.

Class Deals by MOOC List - Click here and see Coursera's Active Discounts, Deals, and Promo Codes.

Course 2 of 4 in the Java Testing Specialization.

Syllabus

WEEK 1
Module 1
This module is an introduction to mocking objects and why you would want to use mocks.

WEEK 2
Using a Mock Object Controller

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

Related Courses

Introduction to Object-Oriented Programming with Java (Coursera) Coursera
LearnQuest

Introduction to Object-Oriented Programming with Java (Coursera)

Introduction to OO Programming with Java is course 2 of the Core Java Specialization. After completing this course, you'll be able to create simple Java classes that exhibit the principle of Encapsulation, to import other classes for use, to work with Strings, print output and use advanced math functions. We'll begin with a brief refresher on necessary concepts from Object-Oriented Programming.

Aug 3rd 2026
4 Weeks
Learn to Teach Java: Boolean Expressions, If Statements, and Iteration (Coursera) Coursera
University of California, San Diego

Learn to Teach Java: Boolean Expressions, If Statements, and Iteration (Coursera)

Learn to program with Boolean Expressions, If Statement, and For and While Loops in Java, and prepare to teach others using the free, online interactive CS Awesome textbook. In this course for teachers we'll guide you both in learning Java concepts and skills but also in how to effectively teach those to your students.

Jul 29th 2026
4 Weeks
Enterprise Java Beans (EJBs) and the Jakarta Persistence API (JPA) (Coursera) Coursera
LearnQuest

Enterprise Java Beans (EJBs) and the Jakarta Persistence API (JPA) (Coursera)

The EJB architecture was the first component-based development model for Java EE specification. It consists of three main components; enterprise beans (EJBs), the EJB container, and the Java application server. In this course students will develop EJBs to run it run inside an EJB container, that is running on a Java EE compliant application server. Students will see that EJB Components enables you to build scalable and accessible enterprise applications

Aug 3rd 2026
4 Weeks
Kotlin for Java Developers (Coursera) Coursera
JetBrains

Kotlin for Java Developers (Coursera)

The Kotlin programming language is a modern language that gives you more power for your everyday tasks. Kotlin is concise, safe, pragmatic, and focused on interoperability with Java code. It can be used almost everywhere Java is used today: for server-side development, Android apps, and much more. This course aims to share with you the power and the beauty of Kotlin.

Aug 17th 2026
5-12 Weeks
Core Java (Coursera) Coursera
Codio

Core Java (Coursera)

Code and run your first Java program in minutes without installing anything! This course is designed for learners with limited coding experience, building on a solid foundation of Java, learners will dive into key Java classes, interfaces, and frameworks. The modules in this course cover developer best practices, data handling, and connecting to web-based systems. Completion of an introductory Java sequence such as Codio's Hands-On Java Introduction is recommended.

Aug 3rd 2026
3 Weeks
Parallel Programming in Java (Coursera) Coursera
Rice University

Parallel Programming in Java (Coursera)

This course teaches learners (industry professionals and students) the fundamental concepts of parallel programming in the context of Java 8. Parallel programming enables developers to use multicore computers to make their applications run faster by using multiple processors at the same time. By the end of this course, you will learn how to use popular parallel Java frameworks (such as ForkJoin, Stream, and Phaser) to write parallel programs for a wide range of multicore platforms including servers, desktops, or mobile devices, while also learning about their theoretical foundations including computation graphs, ideal parallelism, parallel speedup, Amdahl's Law, data races, and determinism.

Aug 3rd 2026
4 Weeks
Introduction to Java Enterprise Edition (EE) (Coursera) Coursera
LearnQuest

Introduction to Java Enterprise Edition (EE) (Coursera)

This course focuses on JEE as a platform. We discuss the motivation and purpose, as well as some of the frequently used libraries and technologies, in the Java Enterprise Edition. We take a look at Web basics, our building blocks for understanding how the internet works. Then, we get very hands on with understanding the Servlet hierarchy, and how servlets handle request/response cycles. Finally, we learn about transferring control via forward and redirect mechanisms.

Aug 3rd 2026
2 Weeks