Author: Gaurav Kumar

Mockito Framework: How it works

Reading Time: 3 minutes Introduction Mockito is a popular mocking framework that is useful to test the written code. It enables to write the essential test cases for real-world projects and applications. Unit Testing: It is a software testing technique to test the unit of a code that can be logically isolated in a system. Unit: It is referred to as an individual functionality of a program. Mocking: It is Continue Reading

Spring Security: How it works internally

Reading Time: 5 minutes Definition Spring Security is a framework provided by Spring that helps to customize an access and authentication process. It plays a very crucial role in terms of securing the applications. Spring Security, mainly focuses on authentication and authorization to provide all benefits to java applications. It is very helpful and provides an easy approach to apply in real projects. And, permits to do custom modifications Continue Reading

Functional Interfaces in Java 8

Reading Time: 4 minutes Introduction Functional interface is an interface that consists of one abstract method. These interface can show only one functionality. Beyond Java 8, lambda expressions can be used to represent the instance of a functional interface. Functional Interfaces can contain any number of default methods. Consumer, Predicate, Function, Unary Operator, Binary Operator are some of the examples of predefined functional interfaces. Points to remember which are Continue Reading