I\'m trying to mock a class constructor with PowerMockito for first time, but it doesn\'t work. My current code is:
public class Bar { public String getT
Okey, found the answer, you need to call to
@PrepareForTest(Foo.class)
instead of
@PrepareForTest(Bar.class)