1
Spock의 데이터 테이블을 사용하여 상호 작용을 확인할 수있는 방법이 있습니까?상호 작용이있는 데이터 테이블 결합
def test(int a, String b) {
expect:
service.save(a)
1 * repository.save({
def test ->
test.value == b
})
where:
a | b
1 | "one"
2 | "two"
}