Close shuts down the mock server.
()
| 182 | |
| 183 | // Close shuts down the mock server. |
| 184 | func (m *MockServer) Close() { |
| 185 | if m.Server != nil { |
| 186 | m.Server.Close() |
| 187 | } |
| 188 | } |
| 189 | |
| 190 | // Reset clears all tracking counters. |
| 191 | func (m *MockServer) Reset() { |
no outgoing calls