Spring MockMVC Test with Mockito and JUnit 🧪🧬 Introduction When building REST APIs with Spring, ensuring that our endpoints behave correctly is just as important as implementing them. Writing tests allows us to verify functionality, prevent regressions, and maintain confidence as our applicat...Sep 30, 2025·4 min read·7
Java Testing Frameworks - Mockito 🧪🧪 Introduction 👾 What is Mockito? In the previous article, we explored how to perform unit testing with JUnit 5. Building on that foundation, let’s look at Mockito, an open-source testing framework for Java. Mockito makes it simple to create test d...Sep 27, 2025·11 min read·20
Java Testing Frameworks - JUnit 🧪👾 Introduction Testing is one of the most important aspects when building applications. Java has multiple testing frameworks which help to test different functionalities. But first, we need to have a good idea of why we are writing tests. 🧪 Why Tes...Sep 27, 2025·28 min read·11
SOLID Principles 📦🧬 Introduction When building performant and versatile software, it is essential to follow sound design principles. One of the most widely recognized sets of guidelines in the software world is SOLID. The SOLID principles, introduced by Robert C. Mar...Sep 25, 2025·8 min read·12
Setting up Email Sending Module for WSO2 Identity Server for Developers 📨When we talk about IAM or Identity and Access Management, we often see the terms MFA(Multi-factor Authentication) and 2FA(Two-factor authentication). When developers need to check certain flows involving service providers and local and outbound authe...Jul 18, 2024·6 min read·8
Writing a Custom Grant Type for WSO2 Identity Server 🔖When we talk about OAuth2 and OpenID Connect(OIDC), we cannot talk about how those two operate by providing access to the client applications without talking about grant types. In simple terms, grant type is a mechanism to provide access to protecte...Jul 17, 2024·6 min read·8
Writing a Custom Local Authenticator for WSO2 Identity Server 🖥️The WSO2 Identity Server is mainly comprised of two frameworks, authentication framework and provisioning framework. One of the most important components in the authentication framework is the local authenticators. The local authenticators are used t...Jul 17, 2024·8 min read·36