---
title: "Discussion on \"Limitation of PowerMockito.whenNew()\" | Hashnode"
description: "Discussion on \"Limitation of PowerMockito.whenNew()\". Why Powermockito.whenNew() is not enough."
url: "https://hashnode.com/posts/limitation-of-powermockitowhennew/63e227015e3af5b09469ff92"
---

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

Discussion

# [Limitation of PowerMockito.whenNew()](https://blog.tejpratapsingh.com/limitation-of-powermockitowhennew?utm_source=hashnode&utm_medium=feed)

Why Powermockito.whenNew() is not enough.

Feb 7, 2023 · 3 min read · blog.tejpratapsingh.com  
Read the article

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

## 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.
