Yes. Something like: ``` fun expectations(block: E...
# announcements
j
Yes. Something like:
Copy code
fun expectations(block: Expectations.() -> Unit) {
    object : Expectations() {
        init {
            block()
        }
    }
}