Hi,
When we test the following method in class Caller:
public class Caller {
public String myCall (){
........
routeTo(from,to);
return "aString";
}
private void routeTo (String from , String to){
}
}
Is it possible to mock the call to 'routeTo'? Or since it is part of the unit under test do we have to test it?
cheers,
//mikael