atrium-api-fluent-en_GB-jdk8-jvm / ch.tutteli.atrium.api.fluent.en_GB.jdk8 / isEqual

isEqual

fun <T : ChronoLocalDate> <ERROR CLASS><T>.isEqual(expected: ChronoLocalDate): <ERROR CLASS><T>

Expects that the subject of the assertion (a ChronoLocalDate) is equal to the expected.

Exceptions

AssertionError - Might throw an AssertionError if the assertion made is not correct.

Return
An Expect for the current subject of the assertion.

Since
0.9.0

fun <T : ChronoLocalDateTime<out ChronoLocalDate>> <ERROR CLASS><T>.isEqual(expected: ChronoLocalDateTime<*>): <ERROR CLASS><T>

Expects that the subject of the assertion (a ChronoLocalDateTime) is equal to the expected.

Exceptions

AssertionError - Might throw an AssertionError if the assertion made is not correct.

Return
An Expect for the current subject of the assertion.

Since
0.9.0

fun <T : ChronoZonedDateTime<out ChronoLocalDate>> <ERROR CLASS><T>.isEqual(expected: ChronoZonedDateTime<*>): <ERROR CLASS><T>

Expects that the subject of the assertion (a ChronoZonedDateTime) is equal to the expected.

Exceptions

AssertionError - Might throw an AssertionError if the assertion made is not correct.

Return
An Expect for the current subject of the assertion.

Since
0.9.0