0
Junit test
how I can test this method in netbeans junit ? I tried do the test method but the results it’s not correct Please help me I will be very grateful https://code.sololearn.com/c63uIIFfn4wD/?ref=app
1 Odpowiedź
0
First add break after found element
if (A.get(i).getUsername()
.equalsIgnoreCase(username) ) {
exists = i;
break; //
}