(t *testing.T, opts ...func(*MethodExpr))
| 183 | } |
| 184 | |
| 185 | func makeMethod(t *testing.T, opts ...func(*MethodExpr)) *MethodExpr { |
| 186 | t.Helper() |
| 187 | m := &MethodExpr{} |
| 188 | for _, opt := range opts { |
| 189 | opt(m) |
| 190 | } |
| 191 | return m |
| 192 | } |
| 193 | |
| 194 | func withPayload(t *testing.T, attrs *NamedAttributeExpr) func(*MethodExpr) { |
| 195 | t.Helper() |
no outgoing calls
no test coverage detected