34
35
// NewMockMutableStateRebuilder creates a new mock instance.
37
>
mock := &MockMutableStateRebuilder{ctrl: ctrl}
38
>
mock.recorder = &MockMutableStateRebuilderMockRecorder{mock}
39
>
return mock
40
>
}
41
42
// EXPECT returns an object that allows the caller to indicate expected use.
44
>
return m.recorder
45
>
}
46
47
// ApplyEvents mocks base method.
48
>
func (m *MockMutableStateRebuilder) ApplyEvents(ctx context.Context, namespaceID namespace.ID, requestID string, execution *common.WorkflowExecution, arg4 [][]*history.HistoryEvent, newRunHistory []*history.HistoryEvent, newRunID string) (interfaces.MutableState, error) {
mutable_state_rebuilder_mock.go
49
>
m.ctrl.T.Helper()
50
>
ret := m.ctrl.Call(m, "ApplyEvents", ctx, namespaceID, requestID, execution, arg4, newRunHistory, newRunID)
51
>
ret0, _ := ret[0].(interfaces.MutableState)
52
>
ret1, _ := ret[1].(error)
53
>
return ret0, ret1
54
>
}
55
56
// ApplyEvents indicates an expected call of ApplyEvents.
57
>
func (mr *MockMutableStateRebuilderMockRecorder) ApplyEvents(ctx, namespaceID, requestID, execution, arg4, newRunHistory, newRunID any) *gomock.Call {
mutable_state_rebuilder_mock.go
58
>
mr.mock.ctrl.T.Helper()
59
>
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ApplyEvents", reflect.TypeOf((*MockMutableStateRebuilder)(nil).ApplyEvents), ctx, namespaceID, requestID, execution, arg4, newRunHistory, newRunID)
60
>
}