---
title: "Discussion on \"Powermock CheatSheet: Tldr and Tips\" | Hashnode"
description: "Discussion on \"Powermock CheatSheet: Tldr and Tips\". Why we need Powermock?\nAlthough Mockito is most popular Mocking Library for Java Developers, But there are certain cases where Simple Mockito does not work. For Example, if your codebase uses any Singleton, you cannot mock them with Simple Mockito.\nT..."
url: "https://hashnode.com/posts/powermock-cheatsheet-tldr-and-tips/634d675df40ed7b10719e8e6"
---

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

Discussion

# [Powermock CheatSheet: Tldr and Tips](https://blog.tejpratapsingh.com/powermock-cheatsheet-tldr-and-tips?utm_source=hashnode&utm_medium=feed)

Why we need Powermock? Although Mockito is most popular Mocking Library for Java Developers, But there are certain cases where Simple Mockito does not work. For Example, if your codebase uses any Singleton, you cannot mock them with Simple Mockito. T...

Oct 17, 2022 · 8 min read · blog.tejpratapsingh.com  
Updated May 30, 2023  
Read the article

-   [#powermockito](https://hashnode.com/tag/powermockito)
-   [#java](https://hashnode.com/tag/java)
-   [#testing](https://hashnode.com/tag/testing)
-   [#mockito](https://hashnode.com/tag/mockito)
-   [#android](https://hashnode.com/tag/android)

## Written by

[Tej Pratap Singh](https://hashnode.com/@tejpratap)

@tejpratap · Bangalore, IN

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

Developer

Code, Movies and code for movies

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
