for (Class x : sentA.keySet()) {
if (!sentA.get(x).equals(sentB.get(x))) {
assertTrue("" + x.getSimpleName() + " for sentence " + i + " does not match", false);
}
}
for (Class x : sentB.keySet()) {
if (!sentB.get(x).equals(sentA.get(x))) {
assertTrue("" + x.getSimpleName() + " for sentence " + i + " does not match", false);
}
}
assertTrue("Sentence " + i + " doesn't match (don't know why?)", false);