Under what conditions should I test get() and set() methods?
Posted
by user351637
on Stack Overflow
See other posts from Stack Overflow
or by user351637
Published on 2010-05-27T06:23:24Z
Indexed on
2010/05/27
6:31 UTC
Read the original article
Hit count: 193
I could not confirm whether to do these tests. It seems the set and get method is so simple,such as:
setA(String A) {
this.A = A;
}
getA(){
return A;
}
Any ideas would be appreciated!
Thanks, Joseph
© Stack Overflow or respective owner