After changing ZonedDateTime to a custom implementation. Dates are not generated correctly in the test
I wrote a test to validate the date serialiser:
internal class TimePointSerializerTest {
@Test
@Throws(Exception::class)
fun shouldSerializeTime() {
// given
val timePointTimeSerializer: TimePointSerializer = TimePointSerializer.INSTANCE
val generator = mock(
JsonGenerator::class.java
)
val localDateTime = LocalDateTime.of(2016, 3, 8, 8, 14, 11, 555000000)
// when...