• Home
  • Java
  • Databases
  1. You are here:  
  2. Home
Mockito Framework

Mockito Framework Tutorial

Details
Written by: scelac
Category: Java
Last Updated: 03 February 2025
Hits: 239
  • Unit testing

Mockito is a powerful Java framework used for unit testing by creating mock objects. It helps developers isolate components of a system, making testing easier, faster, and more reliable. In this tutorial, we'll cover the basics of using Mockito, including creating mocks, stubbing methods, verifying behavior, and more.

Read more: Mockito Framework Tutorial

Spring boot vs micronaut

Spring boot vs micronaut

Details
Written by: scelac
Category: Java
Last Updated: 02 February 2025
Hits: 158

Whether Spring Boot is better than Micronaut or vice versa depends on your specific use case, requirements, and preferences. Both Spring Boot and Micronaut are popular frameworks for building Java-based microservices and web applications, and they have their own strengths and weaknesses.

Read more: Spring boot vs micronaut

Mockito how can check if was called method from superclass

Details
Written by: scelac
Category: Java
Last Updated: 27 January 2025
Hits: 204
  • Unit testing

In Mockito, you cannot directly verify if a method of a superclass was called. Mockito works with mocks and spies to verify interactions with specific methods, but it doesn't have built-in support for verifying calls to superclass methods.

Read more: Mockito how can check if was called method from superclass

Page 2 of 2

  • 1
  • 2