Mock final class and final method with Mockito2022-03-08 Mockito TestingUse mockito to mock final classes and methods.
Mock constructor calls with Mockito2022-02-20 Mockito TestingUse mockito to mock calls made to the constructor and return a mock.
Creating Virtual Threads2022-02-09 Multithreading JavaCreating virtual threads using the Thread class and Concurrency API and using structured Concurrency.
Junit 5 | Creating Dynamic tests with @TestFactory2022-01-24 Junit TestingWhat are Sealed classes and how are they used.
Creating deserialization filters2021-12-21 Java deserializationCreating objectInputStream filters to prevent certain object from being deserialized