### Question:
JSR310LocalTimeType extends AbstractJSR310DateTimeType<LocalTime> { @Nullable @Override public LocalTime getValue(ResultSet rs, int startIndex) throws SQLException { Time time = rs.getTime(startIndex, utc()); return time != null ? LocalTime.ofNanoOfDay(time.getTime() * 1000000) : null; } JSR310LocalTimeType();  JSR310LocalTimeType(int type); @Override String getLiteral(LocalTime value); @Override Class<LocalTime> getReturnedClass(); @Nullable @Override LocalTime getValue(ResultSet rs, int startIndex); @Override void setValue(PreparedStatement st, int startIndex, LocalTime value);  }### Answer:
@Test public void get() throws SQLException { ResultSet resultSet = EasyMock.createNiceMock(ResultSet.class); EasyMock.expect(resultSet.getTime(1, UTC)).andReturn(new Time(UTC.getTimeInMillis())); EasyMock.replay(resultSet); LocalTime result = type.getValue(resultSet, 1); EasyMock.verify(resultSet); assertNotNull(result); assertTrue(result.getSecond() == 0); }