78
79
// GetOrCreateWorkflowExecution mocks base method.
80
>
func (m *MockCache) GetOrCreateWorkflowExecution(ctx context.Context, shardContext interfaces.ShardContext, namespaceID namespace.ID, execution *common.WorkflowExecution, lockPriority locks.Priority) (interfaces.WorkflowContext, interfaces.ReleaseWorkflowContextFunc, error) {
cache_mock.go
81
>
m.ctrl.T.Helper()
82
>
ret := m.ctrl.Call(m, "GetOrCreateWorkflowExecution", ctx, shardContext, namespaceID, execution, lockPriority)
83
>
ret0, _ := ret[0].(interfaces.WorkflowContext)
84
>
ret1, _ := ret[1].(interfaces.ReleaseWorkflowContextFunc)
85
>
ret2, _ := ret[2].(error)
86
>
return ret0, ret1, ret2
87
>
}
88
89
// GetOrCreateWorkflowExecution indicates an expected call of GetOrCreateWorkflowExecution.
90
>
func (mr *MockCacheMockRecorder) GetOrCreateWorkflowExecution(ctx, shardContext, namespaceID, execution, lockPriority any) *gomock.Call {
cache_mock.go
91
>
mr.mock.ctrl.T.Helper()
92
>
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOrCreateWorkflowExecution", reflect.TypeOf((*MockCache)(nil).GetOrCreateWorkflowExecution), ctx, shardContext, namespaceID, execution, lockPriority)
93
>
}