TestData holds any data that might be useful for testing. Testify ignores this data completely allowing you to do whatever you like with it.
()
| 327 | // TestData holds any data that might be useful for testing. Testify ignores |
| 328 | // this data completely allowing you to do whatever you like with it. |
| 329 | func (m *Mock) TestData() objx.Map { |
| 330 | if m.testData == nil { |
| 331 | m.testData = make(objx.Map) |
| 332 | } |
| 333 | |
| 334 | return m.testData |
| 335 | } |
| 336 | |
| 337 | /* |
| 338 | Setting expectations |
no outgoing calls