Explore two different ways of testing callbacks when using Mockito.
Baeldung Author
Jonathan Cook
Jonathan has more than 10 years of experience as a Senior Software Engineer with a focus on Java. He is particularly passionate about testing and ensuring the quality of the systems he is responsible for. He has contributed to several open source projects and can now be found in Spain looking after the ESA science archives.
Here's what I've written (so far):
Baeldung on Java
- All
- Testing (19)
- Spring Boot (5)
- Jakarta EE (3)
- NoSQL (2)
- Java Dates (2)
- Java (2)
- Jackson (2)
- JSON (2)
- HTTP Client-Side (2)
- Core Java (2)
- XML (1)
- Spring (1)
- REST (1)
- Java String (1)
- Java Numbers (1)
- JVM (1)
- Data (1)
Convert String to Date in Java
Filed under Java Dates
Learn how to get an object representing a Date from a String in Java
Mockito – Using Spies
Filed under Testing
Making good use of Spies in Mockito, and how spies are different from mocks.
Baeldung on Linux
- All
- Scripting (2)
- File Editing (2)
- Web (1)
- File Conversion (1)
- File Compression (1)
How to Exit a Shell Script From a Subshell
Filed under Scripting
Learn various methods to exit a shell script from within a subshell on Linux.
Manipulating Images With ImageMagick Command-Line Tools
Filed under File Conversion, File Editing
Learn some of the basic capabilities that ImageMagick provides for manipulating images via the command line.
Extracting a WAR File in Linux
Filed under File Compression
Explore several alternatives for extracting and viewing the contents of WAR files on the Linux platform.
Linux Commands – Remove All Text After X
Filed under File Editing
A quick and practical overview of trimming strings after sequence occurrences on Linux.
Guide to Linux jq Command for JSON Processing
Filed under Web
Explore the capabilities that jq provides for processing and manipulating JSON via the command line.
Linux Commands – Looping Through Directories
Filed under Scripting
Learn strategies for looping through directories in Linux
Baeldung on Scala
- All
- Testing (1)
Introduction to Testing With ScalaTest
Filed under Testing
Learn about ScalaTest, a comprehensive testing framework for Scala.