Verify Exceptions with JUnit

1. Overview In this tutorial, we'll look at different ways to verify exceptions in a JUnit test. 2. Verifying Exceptions using @Test Annotation Firstly, let's see what the @Test annotation offers. @Test has the expected attribute…

Continue Reading

Lombok @Builder

1. Overview In this tutorial, we're going to look at the Lombok @Builder annotation to generate a builder for our class. It is a handy annotation especially when we're dealing…

Continue Reading
Close Menu