Chuong
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 }