IS
Size: a a a
MK
MK
public boolean checkStatus (int statusE, int statusR) {
try {
assertEquals(statusE, statusR);
} catch ( AssertionError e ) {
Assert.fail("expected Status Code [200]" +
" but found Status Code [" + String.valueOf(statusR)+"]");
return false;
}
return true;
}
ИС
public boolean checkStatus (int statusE, int statusR) {
try {
assertEquals(statusE, statusR);
} catch ( AssertionError e ) {
Assert.fail("expected Status Code [200]" +
" but found Status Code [" + String.valueOf(statusR)+"]");
return false;
}
return true;
}
YK
MK
YK
IS
public boolean checkStatus (int statusE, int statusR) {
try {
assertEquals(statusE, statusR);
} catch ( AssertionError e ) {
Assert.fail("expected Status Code [200]" +
" but found Status Code [" + String.valueOf(statusR)+"]");
return false;
}
return true;
}
MK
YK
MK
ИС
assertEquals
, что не менее зашкварно.YK
ИС
ИС