All Downloads are FREE. Search and download functionalities are using the official Maven repository.

in.rcard.assertj.arrowcore.OptionAssert.kt Maven / Gradle / Ivy

There is a newer version: 1.2.1
Show newest version
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