createValue

open fun <E, V> createValue(value: V): Expected<E, V>

Create an expected value.

Return

created expected value

Parameters

<E>

type of the expected error

<V>

type of the expected value

value

the expected value