EasyMock Argument Matchers 1. Overview In this tutorial, we’ll explore EasyMock argument matchers. We’ll discuss different types of predefined matchers and how to create a custom matcher as well. We already covered EasyMock basics in the introduction to EasyMock article, so you may need to read it first to get yourself… Continue Reading easymock-argument-matchers

Shutdown a Spring Boot Application 1. Overview Managing the lifecycle of Spring Boot Application is very important for a production-ready system. The Spring container handles the creation, initialization, and destruction of all the Beans with the help of the ApplicationContext. The emphasize of this write-up is the destruction phase of… Continue Reading spring-boot-shutdown

Find the Intersection of Two Lines in Java 1. Overview In this quick tutorial, we’ll show how to find the point of intersection of two lines defined by the linear functions in the slope-intercept form. 2. The Math Formula of Intersection Any straight line (except vertical) on a plane can be defined by… Continue Reading java-intersection-of-two-lines