setMock method
Implementation
void setMock(String apiName, MockAPIResponse response) {
_mocks[apiName] = response;
_mockCallIndexes.remove(apiName);
}
void setMock(String apiName, MockAPIResponse response) {
_mocks[apiName] = response;
_mockCallIndexes.remove(apiName);
}