---
title: "#mocktest articles | Hashnode"
description: "Explore 3 articles tagged #mocktest on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/mocktest"
---

Tag

# #mocktest

3 posts · 0 followers

[Laiba Babar](https://hashnode.com/@Laibababar) · [Dec 9, 2025](https://hashnode.com/posts/how-mockito-saved-my-tests-a-journey-from-integration-nightmares-to-unit-testing-bliss/6938867d92d626943fd46416)

### [How Mockito Saved My Tests: A Journey from Integration Nightmares to Unit Testing Bliss](https://mockito.hashnode.dev/how-mockito-saved-my-tests-a-journey-from-integration-nightmares-to-unit-testing-bliss?utm_source=hashnode&utm_medium=feed)

Imagine testing a banking application where every test actually transfers real money. Sounds terrifying, right? That's exactly what happens when you test without mocking dependencies. Enter Mockito - the Java developer's best friend for creating 'fak...

7 min read · [mockito.hashnode.dev](https://mockito.hashnode.dev/how-mockito-saved-my-tests-a-journey-from-integration-nightmares-to-unit-testing-bliss?utm_source=hashnode&utm_medium=feed)

[Abdul Ahad Sheikh](https://hashnode.com/@Ahad) · [Apr 26, 2023](https://hashnode.com/posts/pgdac-mock-test-oops-java-problem-1/6449426e64d9d4b2998fc596)

### [PGDAC | Mock Test | OOPS Java | Problem #1](https://pgdacmate.hashnode.dev/pgdac-mock-test-oops-java-problem-1?utm_source=hashnode&utm_medium=feed)

How to print the index of the second last occurrence of a Character in a user-provided String

6 min read · [pgdacmate.hashnode.dev](https://pgdacmate.hashnode.dev/pgdac-mock-test-oops-java-problem-1?utm_source=hashnode&utm_medium=feed)

[Abdul Ahad Sheikh](https://hashnode.com/@Ahad) · [Apr 26, 2023](https://hashnode.com/posts/pgdac-mock-test-oops-java-problem-2/64494a87e208e053de85774a)

### [PGDAC | Mock Test |OOPS Java | Problem #2](https://pgdacmate.hashnode.dev/pgdac-mock-test-oops-java-problem-2?utm_source=hashnode&utm_medium=feed)

Write a program to check whether 2 strings are Anagram or not

4 min read · [pgdacmate.hashnode.dev](https://pgdacmate.hashnode.dev/pgdac-mock-test-oops-java-problem-2?utm_source=hashnode&utm_medium=feed)
