in.rcard.assertj.arrowcore.OptionAssert.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of assertj-arrow-core Show documentation
Show all versions of assertj-arrow-core Show documentation
Rich and fluent assertions for testing Kotlin Arrow Core types
package `in`.rcard.assertj.arrowcore
import arrow.core.Option
/**
* Assertions for [Option].
*
* @param VALUE type of the value contained in the [Option].
* @author Riccardo Cardin
* @since 0.0.1
*/
class OptionAssert private constructor(option: Option?) :
AbstractOptionAssert, VALUE>(option) {
companion object {
fun assertThat(option: Option?): OptionAssert =
OptionAssert(option)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy