In Kotlin, I'd just go ahead and use `use`: ``` @T...
# spek
c
In Kotlin, I'd just go ahead and use `use`:
Copy code
@Test fun test() {
  createServer().use {
    // test
  }
  // server gets automatically stopped
}