protected void test() {
   ByteArrayInputStream inputStream =
       new ByteArrayInputStream(CobolTestModel.getComplexPicStatementCopyBookString().getBytes());
   CopyBookParser parser = new CopyBookParser();
   try {
     records = parser.parse(inputStream);
   } catch (Exception exception) {
     TestErrorException testException = new TestErrorException(exception.getMessage());
     setTestException(testException);
   }
 }
 public void verify() {
   if (test1ResultIsTrue) {
     throw new TestErrorException(
         "Helper.classIsSubclass(Class subClass, Class superClass) does not recognize that parent class is null.");
   }
   if (e != null) {
     throw new TestErrorException(
         "An exception should not have been thrown when checking for status as a subclass when superclass is null: "
             + e.toString());
   }
 }
 public void run() {
   try {
     ExpressionBuilder builder = new ExpressionBuilder();
     Expression exp = builder.anyOf("policies").get("policyNumber").equal(200);
     for (int i = 0; i < 1; i++) {
       PolicyHolder holder =
           (PolicyHolder)
               this.clientSession.readObject(
                   org.eclipse.persistence.testing.models.insurance.PolicyHolder.class, exp);
       if ((holder == null)
           || (holder.getFirstName() == "")
           || (holder.getPolicies() == null)
           || (holder.getAddress() == null)
           || (holder.getAddress().getCity() == null)) {
         throw new TestWarningException("Client/Server dead lock test fails as null is returned.");
       }
     }
   } catch (Exception exception) {
     this.server.errorOccured = true;
     exception.printStackTrace(System.out);
   }
 }
  public void verify() {
    if (!test1ResultIsTrue) {
      throw new TestErrorException(
          "Helper.compareCharArrays(char[] array1, char[] array2) does not recognize that arrays contain the same elements.");
    }

    if (test2ResultIsTrue) {
      throw new TestErrorException(
          "Helper.compareCharArrays(char[] array1, char[] array2) does not recognize that arrays contain different elements.");
    }
    if (e != null) {
      throw new TestErrorException(
          "An exception should not have been thrown when comparing char array content: "
              + e.toString());
    }
  }