kotest-assertions-core / io.kotest.matchers.date / java.time.LocalDateTime / shouldNotBeToday

shouldNotBeToday

fun LocalDateTime.shouldNotBeToday(): Unit

Asserts that the LocalDateTime does not have a date component of today

    LocalDateTime.of(2009, Month.APRIL, 2,2,2).shouldNotBeToday() // Assertion passes