CreateCalls gets all the calls that were made to Create. Check the length with: len(mockedExtensionManager.CreateCalls())
()
| 170 | // |
| 171 | // len(mockedExtensionManager.CreateCalls()) |
| 172 | func (mock *ExtensionManagerMock) CreateCalls() []struct { |
| 173 | Name string |
| 174 | TmplType ExtTemplateType |
| 175 | } { |
| 176 | var calls []struct { |
| 177 | Name string |
| 178 | TmplType ExtTemplateType |
| 179 | } |
| 180 | mock.lockCreate.RLock() |
| 181 | calls = mock.calls.Create |
| 182 | mock.lockCreate.RUnlock() |
| 183 | return calls |
| 184 | } |
| 185 | |
| 186 | // Dispatch calls DispatchFunc. |
| 187 | func (mock *ExtensionManagerMock) Dispatch(args []string, stdin io.Reader, stdout io.Writer, stderr io.Writer) (bool, error) { |
no outgoing calls