
com.fimet.assertions.In Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fimet-exe Show documentation
Show all versions of fimet-exe Show documentation
Execution implementarion of usecases and stress test for ISO8583
The newest version!
package com.fimet.assertions;
public class In extends AbstractAssertion {
private Object[] expected;
public In(Object value, Object ... expected) {
super();
this.value = value;
this.expected = expected;
}
@Override
protected boolean doExecute() {
return AssertionUtils.in(value, expected);
}
public String toString() {
StringBuilder s = status();
s.append("V:[").append(value).append("]");
s.append("E:[");
if (expected!=null) {
for (Object v : expected) {
s.append(v).append(",");
}
s.setLength(s.length()-1);
}
s.append("]");
return s.toString();
}
public Object getExpected() {
return expected;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy