List<LabeledBinaryExtraction> results = new ArrayList<LabeledBinaryExtraction>();
Iterables.addAll(results, reader.readExtractions());
assertEquals(2, results.size());
LabeledBinaryExtraction e1 = results.get(0);
LabeledBinaryExtraction e2 = results.get(1);
assertEquals("Bush was US President .", e1.getSentence().getTokensAsString());
assertEquals("Bush", e1.getArgument1().getTokensAsString());
assertEquals("was", e1.getRelation().getTokensAsString());
assertEquals("US President", e1.getArgument2().getTokensAsString());
assertTrue(e1.isPositive());
assertFalse(e1.isNegative());
assertEquals("Mike McGinn is the mayor of Seattle .", e2.getSentence().getTokensAsString());
assertEquals("Mike", e2.getArgument1().getTokensAsString());
assertEquals("is", e2.getRelation().getTokensAsString());
assertEquals("the mayor", e2.getArgument2().getTokensAsString());
assertTrue(e2.isNegative());
assertFalse(e2.isPositive());
}