hasValue

fun <T> Assert<Optional<T>>.hasValue(expected: T)

Asserts the optional has the expected value.