Tej Pratap Singhblog.tejpratapsingh.com·Feb 7, 2023Limitation of PowerMockito.whenNew()Powemock is a very powerful tool in any Java Developer's arsenal, it allows a developer to change his code at the bytecode level. This is especially beneficial when we want to modify some functionality of source (System Under Test). Whey we need when...539 readsJava Testing With MocksAndroid
Tej Pratap Singhblog.tejpratapsingh.com·Oct 18, 2022PowerMock: Understanding @PrepareForTestPowerMock is a powerful library that works on byte code level of our program. This blog will only talk about when and how you need to use @PrepareForTest. If you need to know more about other things PowerMock can do, read this one first PrepareForTes...1 like·1.3K readsJava Testing With MocksPowerMock