Examples of ResultSetStub


Examples of jp.co.ntt.oss.mapper.stub.ResultSetStub

  public void tearDown() throws Exception {
  }

  @Test
  public final void testGetObject() {
    ResultSetStub rset = new ResultSetStub();
    SQLXMLDataMapper dm = new SQLXMLDataMapper();
    assertNotNull(dm);
    try {
      dm.getObject(rset, 123);
      assertEquals("getSQLXML(123)", rset.getCalled());
    } catch (SQLException e) {
      fail("exception thrown");
    }
  }
View Full Code Here

Examples of jp.co.ntt.oss.mapper.stub.ResultSetStub

  public void tearDown() throws Exception {
  }

  @Test
  public final void testGetObject() {
    ResultSetStub rset = new ResultSetStub();
    BigDecimalDataMapper dm = new BigDecimalDataMapper();
    assertNotNull(dm);
    try {
      dm.getObject(rset, 123);
      assertEquals("getBigDecimal(123)", rset.getCalled());
    } catch (SQLException e) {
      fail("exception thrown");
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.