code: static void stateAssertion(CallInfo callInfo, DataSet expected) {
      DataSource source =  expected.getSource();
      source.setDirtyStatus(true);
      dataSetAssertion(callInfo, 
                       expected,   
                       source.executeQuery(callInfo, false));
    }
docs: Perform a database state assertion.
  
  @param callInfo Call info.
  @param expected Expected data.
  @throws DBAssertionError If the assertion fails.
  @throws InvalidOperationException If the arguments are invalid.