@Test
public void testFormat() throws ParseException {

    System.out.println("format");
    Object obj = instance.parseObject("(#$implies (#$isa ?X #$Cat) (#$likesAsFriend ?X #$CycAdministrator))", new ParsePosition(0));
    StringBuffer toAppendTo = new StringBuffer();
    FieldPosition pos = null;
    String expResult = "(#$implies (#$isa ?X #$Cat) (#$likesAsFriend ?X #$CycAdministrator))";
    instance.setShowHashDollar(true);
    instance.setWrapLines(false);
    StringBuffer result = instance.format(obj, toAppendTo, pos);
    assertEquals(expResult, result.toString());
    // TODO review the generated test code and remove the default call to fail.
    
}