View Single Post
  #2 (permalink)  
Old 11-01-2007, 06:17 PM
Turtle Turtle is offline
Member
 
Join Date: Nov 2007
Posts: 4
Turtle is on a distinguished road
Quote:
It is possible to mock static methods by using the new Java 5 instrumentaion framework.
There is a project jmockit (https://jmockit.dev.java.net/) that does exactly this.
source: tododoingdone: Mocking static methods?
Reply With Quote