Exemplo n.º 1
0
  public void test_getSQLXML() throws Exception {
    resultSet.next();

    resultSet.getSQLXML(1);
    resultSet.getSQLXML("1");

    {
      SQLException error = null;
      try {
        resultSet.getSQLXML(0);
      } catch (SQLException ex) {
        error = ex;
      }
      Assert.assertNotNull(error);
    }

    {
      SQLException error = null;
      try {
        resultSet.getSQLXML("0");
      } catch (SQLException ex) {
        error = ex;
      }
      Assert.assertNotNull(error);
    }
  }