// from the HTTP response or the data value in the expected cell
// equals checks for r1 being a subset of r2
Collection<Header> expected = (Collection<Header>) expectedObj;
Collection<Header> actual = (Collection<Header>) actualObj;
for (Header k : expected) {
Header aHdr = find(actual, k);
if (aHdr == null) {
addError("not found: [" + k.getName() + " : " + k.getValue() + "]");
}
}
return getErrors().size() == 0;