How to write test to current method? Should it be two methods or not? I use jUnit 4.
public void setImage() { if(conditionOne == true){ myView.setImageOne(); } else { myView.setImageTwo(); } }
Aucun commentaire:
Enregistrer un commentaire