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

Tag

# #powermock

3 posts · 0 followers

[Tej Pratap Singh](https://hashnode.com/@tejpratap) · [Feb 7, 2023](https://hashnode.com/posts/limitation-of-powermockitowhennew/63e227015e3af5b09469ff92)

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

Why Powermockito.whenNew() is not enough.

3 min read · [blog.tejpratapsingh.com](https://blog.tejpratapsingh.com/limitation-of-powermockitowhennew?utm_source=hashnode&utm_medium=feed)

[Tej Pratap Singh](https://hashnode.com/@tejpratap) · [Oct 18, 2022](https://hashnode.com/posts/powermock-understanding-preparefortest/634e956f47f71dd282e1385e)

### [PowerMock: Understanding @PrepareForTest](https://blog.tejpratapsingh.com/powermock-understanding-preparefortest?utm_source=hashnode&utm_medium=feed)

PrepareForTest is very powerful tool that unlocks class manipulation capabilities by modifying class to byte code level.

3 min read · [blog.tejpratapsingh.com](https://blog.tejpratapsingh.com/powermock-understanding-preparefortest?utm_source=hashnode&utm_medium=feed)
