public void testCycAssertion() {
    System.out.println("\n*** testCycAssertion ***");

    // stringApiValue() on a random assertion
    try {
      CycAssertion assertion = getCyc().getRandomAssertion();
      testCycObjectRetrievable(assertion);
      assertNotNull(assertion);
      String assertionAsString = assertion.stringApiValue();
      final Object assertionObject2 = getCyc().converseObject(assertionAsString);
      if (assertionObject2 instanceof CycAssertion) {
        final CycAssertion assertion2 = (CycAssertion) assertionObject2;
        assertEquals(assertion, assertion2);
      } else {
        System.err.println(assertionAsString + "\ndoes not returns the following which is not the expected assertion:\n" + assertionObject2);
      }
    } catch (Exception e) {
      failWithException(e);
    }

    // toXMLString()() on a random assertion
    try {
      final CycAssertion assertion = getCyc().getRandomAssertion();
      assertNotNull(assertion);
      final String assertionAsXML = assertion.toXMLString();
      assertNotNull(assertionAsXML);
      System.out.println();
    } catch (Exception e) {
      failWithException(e);
    }

    //TODO
        /*
    // toXML, toXMLString, unmarshall
    XMLStringWriter xmlStringWriter = new XMLStringWriter();
    try {
    String xmlString =
    "<assertion>\n" +
    "  <id>1000</id>\n" +
    "</assertion>\n";
    Object object = CycObjectFactory.unmarshall(xmlString);
    assertNotNull(object);
    assertTrue(object instanceof CycAssertion);
    CycAssertion cycAssertion = (CycAssertion) object;
    cycAssertion.toXML(xmlStringWriter, 0, false);
    assertEquals(xmlString, xmlStringWriter.toString());
    assertEquals(xmlString, cycAssertion.toXMLString());
    CycAssertion cycAssertion2 = new CycAssertion(new Integer (1000));
    assertEquals(cycAssertion2, cycAssertion);
    CycList cycList = new CycList();
    cycList.add(cycAssertion);
    //System.out.println(cycList.toXMLString());
    
    }
    catch (Exception e) {
    e.printStackTrace();
    fail(e.getMessage());
    }
     */
    System.out.println("*** testCycAssertion OK ***");
  }