Is there a cleaner way to write this? ```Arb.bind...
# kotest
c
Is there a cleaner way to write this?
Copy code
Arb.bind(Arb.enum<TaskType>(), Arb.string()) { a, b -> Pair(a, b) }.forAll { (a, b) ->
  val t = Task(a, b)

  (t.type == a) shouldBe true && (t.body == b) shouldBe true
}