first := mockClient.EXPECT().Do(gomock.Any()).Return(defaultResponse, nil)
mockClient.EXPECT().Do(gomock.Any()).Return(defaultResp, nil).After(first)
How can i call these two mocks one after the other many times ? Is this the correct way to call mocks? I need to execute the first mock first and then the second mockclient. So i have followed this approach. But i need to call them for series of test inputs in my UNIT tests.Where every time the first one should executed first and the second one after that. But i see this is happening for only once and the next time only the second one is called.