---
title: "Discussion on \"How to use Mockito ?\" | Hashnode"
description: "Discussion on \"How to use Mockito ?\". 📑 How to use Mockito\n\n🏷️Tags : #22-05-2022,  #pending \n[[unit testing in java with junit 4]]🔗 Links\njava code geeks\n\nKey Takeaways\nOverview\n\nuse mockito\nmocks, Spies, Partial Mocks and stubbing behavior\nMockito fits perfectly with TDD\n\nWhy Mock\n\nw..."
url: "https://hashnode.com/posts/how-to-use-mockito/628db4d6b4bd016fc9a32f84"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to use Mockito ?](https://hashcodehub.hashnode.dev/how-to-use-mockito?utm_source=hashnode&utm_medium=feed)

📑 How to use Mockito 🏷️Tags : #22-05-2022, #pending \[\[unit testing in java with junit 4\]\]🔗 Links java code geeks Key Takeaways Overview use mockito mocks, Spies, Partial Mocks and stubbing behavior Mockito fits perfectly with TDD Why Mock w...

May 25, 2022 · 7 min read · hashcodehub.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#junit](https://hashnode.com/tag/junit)

## Written by

[sandeep negi](https://hashnode.com/@sandeepnegi1996)

@sandeepnegi1996 · Banglore,India

  
[View profile](https://hashnode.com/@sandeepnegi1996)

learn , relearn and share

I love learning about technology and sharing that with others

## Responses 1

Markdown supported · ⌘↵ to post

[Vishal Arora](https://hashnode.com/@wishall)

[May 25, 2022](https://hashnode.com/posts/how-to-use-mockito/628db4d6b4bd016fc9a32f84/comment/628e3c2019bda58ac7fb117c)

Great insights! 👍
