(t *testing.T, attrs *NamedAttributeExpr)
| 192 | } |
| 193 | |
| 194 | func withPayload(t *testing.T, attrs *NamedAttributeExpr) func(*MethodExpr) { |
| 195 | t.Helper() |
| 196 | return func(m *MethodExpr) { |
| 197 | m.Payload = &AttributeExpr{Type: &Object{attrs}} |
| 198 | } |
| 199 | } |
| 200 | |
| 201 | func withPayloadBases(t *testing.T, bases ...DataType) func(*MethodExpr) { |
| 202 | t.Helper() |
no outgoing calls
no test coverage detected