I have a button if click it it will call sayhello()
function
Button btn;
btn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
sayhello();
}
});
New how to test in robolectric if sayhello()
method is called or not?
Aucun commentaire:
Enregistrer un commentaire