LocalTimeValue extends ObjectValueAdapter<LocalTime> { @Override public Type type() { return InternalTypeSystem.TYPE_SYSTEM.LOCAL_TIME(); } LocalTimeValue( LocalTime time ); @Override LocalTime asLocalTime(); @Override Type type();  }
@Test void shouldHaveCorrectType() { LocalTime time = LocalTime.of( 23, 59, 59 ); LocalTimeValue timeValue = new LocalTimeValue( time ); assertEquals( InternalTypeSystem.TYPE_SYSTEM.LOCAL_TIME(), timeValue.type() ); }