metode mocken subkelas mockito java mockito

@Spy
private Subclass subclassSpy = new Sublcass();

@Before
public void init(){
   MockitoAnnotations.initMocks(this);
}
Mushy Marten