Java Mockito Subclass Mocken Methode
@Spy
private Subclass subclassSpy = new Sublcass();
@Before
public void init(){
MockitoAnnotations.initMocks(this);
}
Mushy Marten
@Spy
private Subclass subclassSpy = new Sublcass();
@Before
public void init(){
MockitoAnnotations.initMocks(this);
}