How's about something like this to help in asserti...
# strikt
d
How's about something like this to help in asserting against sealed classes/interfaces children types (not too sure about the name though...), I seem to do this alot...:
Copy code
inline fun <reified T, R> Assertion.Builder<*>.getFromA(noinline function: T.() -> R): Assertion.Builder<R> =
        isA<T>().get(function.describe(), function)
c
pretty cool!