/** @throws Exception */ public void testGetTimestamp() throws Exception { MockResultSet rs = new MockResultSet(); ArrayMap rowData = new ArrayMap(); Timestamp value = new Timestamp(0); rowData.put("hoge", value); rs.addRowData(rowData); assertTrue(rs.next()); assertEquals(value, rs.getTimestamp(1)); assertEquals(value, rs.getTimestamp("hoge")); }