Thread
:
Mocking static methods of class
View Single Post
#
2
(
permalink
)
11-01-2007, 06:17 PM
Turtle
Member
Join Date: Nov 2007
Posts: 4
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?
Turtle
View Public Profile
Send a private message to Turtle
Find all posts by Turtle