infix fun LocalTime.shouldNotHaveSameSecondsAs(time: LocalTime): Unit
Asserts that seconds in this time are NOT the same as time's seconds
Verifies that seconds in this time aren't the same as time's seconds, ignoring any other fields. For example, 16:59:05:1111 doesn't have the same seconds as 16:59:02:1111, and this assertion should pass for this comparison
Opposite of LocalTime.shouldHaveSameSecondsAs
val firstTime = LocalTime.of(22, 59, 30, 1000)
val secondTime = LocalTime.of(22, 59, 21, 1000)
firstTime shouldNotHaveSameSecondsAs secondTime // Assertion passes
val firstTime = LocalTime.of(23, 40, 30, 1000)
val secondTime = LocalTime.of(11, 45, 30, 2222)
firstTime shouldNotHaveSameSecondsAs secondTime // Assertion fails, 30 == 30