---
title: "Discussion on \"Testing with Mockito and PowerMockito\" | Hashnode"
description: "Discussion on \"Testing with Mockito and PowerMockito\". Introduction\n\nMockito is a mocking framework. i.e it simulates the behavior of a real method/object. In Simple Term: It mocks/replicates the main method/object by creating its dummy functionality.\n\nWhy do we need a mocking framework ?We want to test ..."
url: "https://hashnode.com/posts/testing-with-mockito-and-powermockito/61a3c4c89ac0d611876b0b92"
---

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

Discussion

# [Testing with Mockito and PowerMockito](https://devarc.hashnode.dev/testing-with-mockito-and-powermockito?utm_source=hashnode&utm_medium=feed)

Introduction Mockito is a mocking framework. i.e it simulates the behavior of a real method/object. In Simple Term: It mocks/replicates the main method/object by creating its dummy functionality. Why do we need a mocking framework ?We want to test ...

Nov 28, 2021 · 3 min read · devarc.hashnode.dev  
Read the article

-   [#unit-testing](https://hashnode.com/tag/unit-testing)
-   [#java](https://hashnode.com/tag/java)
-   [#spring](https://hashnode.com/tag/spring)

## Written by

[Shrawan Adhikari](https://hashnode.com/@ashrawan)

@ashrawan

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
