public void testToString() throws RecognitionException {
assertEquals("%obs: 'Foo' A(f)\n", new Observation("Foo", getAgentList("A(f)")).toString());
}
private List<Agent> getAgentList(String string) throws RecognitionException {
return new UrbanParser(string).expression();
}