List Question
20 TechQA 2024-03-21T15:30:44.997000classNotPreparedForTest exception, using JUNIT5, MOCKITO and POWERMOCKITO
19 views
Asked by K D
How can you assign a mock to a private static field in Java 17?
68 views
Asked by Powet
<module_name> Classes in bundle ' do not match with execution data. For report generation the same class files must be used as at runtime
25 views
Asked by Gunjan SHrivastava
Mockito exeception : java.lang.IllegalStateException: Failed to transform class
21 views
Asked by Saurabh Raj
NoSuchMethodException JDK17 Spring
157 views
Asked by mohitkira
Mocking Singleton Class Constructor using Powemock
27 views
Asked by gansha9451
Powermock failed to find the 'modifiers' field in method setInternalState
16 views
Asked by Joe1988
How to write JUnit test cases for Settings.Global methods?
29 views
Asked by Dev_Cob
How to return different values with the same method call in the same class in a loop?
24 views
Asked by Mojo jojo
How to migrate from Powermock wenNew withAnyArguments thenReturn to Mockito 5?
46 views
Asked by iLikeKFC
mock an executor service with power mock
42 views
Asked by Techi
Migration from Java 8 to Java 17 And Spring 6 JUnit4 failing due to version mismatch
3k views
Asked by KuldeeP ChoudharY
Mockito is not mocking a final class method
443 views
Asked by Gustavo Rey
JUnit powermock throw exception IllegalAccessError:cannot clear JavaAgentClassRegister
51 views
Asked by user22520757
Unable to mock a constructor using PowerMock
17 views
Asked by Thejdeep
mock a private method which doesn't return anything using Junit
40 views
Asked by PG24
Mocked but still null when using PowerMock to mock private method
54 views
Asked by vurtne yuan
Mock java elasticsearch RestHighLevelClient
192 views
Asked by ReallyNicePerson
PowerMockito whenNew not invoked when constructor is called
24 views
Asked by Carol Jin
Conversion of Powermockito Junit Tests to MockitoRunner
91 views
Asked by user3655258