code.vegaprotocol.io/vega@v0.79.0/core/liquidity/v2/mocks/mocks.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: code.vegaprotocol.io/vega/core/liquidity/v2 (interfaces: RiskModel,PriceMonitor,IDGen)
     3  
     4  // Package mocks is a generated GoMock package.
     5  package mocks
     6  
     7  import (
     8  	reflect "reflect"
     9  
    10  	num "code.vegaprotocol.io/vega/libs/num"
    11  	gomock "github.com/golang/mock/gomock"
    12  	decimal "github.com/shopspring/decimal"
    13  )
    14  
    15  // MockRiskModel is a mock of RiskModel interface.
    16  type MockRiskModel struct {
    17  	ctrl     *gomock.Controller
    18  	recorder *MockRiskModelMockRecorder
    19  }
    20  
    21  // MockRiskModelMockRecorder is the mock recorder for MockRiskModel.
    22  type MockRiskModelMockRecorder struct {
    23  	mock *MockRiskModel
    24  }
    25  
    26  // NewMockRiskModel creates a new mock instance.
    27  func NewMockRiskModel(ctrl *gomock.Controller) *MockRiskModel {
    28  	mock := &MockRiskModel{ctrl: ctrl}
    29  	mock.recorder = &MockRiskModelMockRecorder{mock}
    30  	return mock
    31  }
    32  
    33  // EXPECT returns an object that allows the caller to indicate expected use.
    34  func (m *MockRiskModel) EXPECT() *MockRiskModelMockRecorder {
    35  	return m.recorder
    36  }
    37  
    38  // GetProjectionHorizon mocks base method.
    39  func (m *MockRiskModel) GetProjectionHorizon() decimal.Decimal {
    40  	m.ctrl.T.Helper()
    41  	ret := m.ctrl.Call(m, "GetProjectionHorizon")
    42  	ret0, _ := ret[0].(decimal.Decimal)
    43  	return ret0
    44  }
    45  
    46  // GetProjectionHorizon indicates an expected call of GetProjectionHorizon.
    47  func (mr *MockRiskModelMockRecorder) GetProjectionHorizon() *gomock.Call {
    48  	mr.mock.ctrl.T.Helper()
    49  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetProjectionHorizon", reflect.TypeOf((*MockRiskModel)(nil).GetProjectionHorizon))
    50  }
    51  
    52  // ProbabilityOfTrading mocks base method.
    53  func (m *MockRiskModel) ProbabilityOfTrading(arg0, arg1, arg2, arg3, arg4 decimal.Decimal, arg5, arg6 bool) decimal.Decimal {
    54  	m.ctrl.T.Helper()
    55  	ret := m.ctrl.Call(m, "ProbabilityOfTrading", arg0, arg1, arg2, arg3, arg4, arg5, arg6)
    56  	ret0, _ := ret[0].(decimal.Decimal)
    57  	return ret0
    58  }
    59  
    60  // ProbabilityOfTrading indicates an expected call of ProbabilityOfTrading.
    61  func (mr *MockRiskModelMockRecorder) ProbabilityOfTrading(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call {
    62  	mr.mock.ctrl.T.Helper()
    63  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ProbabilityOfTrading", reflect.TypeOf((*MockRiskModel)(nil).ProbabilityOfTrading), arg0, arg1, arg2, arg3, arg4, arg5, arg6)
    64  }
    65  
    66  // MockPriceMonitor is a mock of PriceMonitor interface.
    67  type MockPriceMonitor struct {
    68  	ctrl     *gomock.Controller
    69  	recorder *MockPriceMonitorMockRecorder
    70  }
    71  
    72  // MockPriceMonitorMockRecorder is the mock recorder for MockPriceMonitor.
    73  type MockPriceMonitorMockRecorder struct {
    74  	mock *MockPriceMonitor
    75  }
    76  
    77  // NewMockPriceMonitor creates a new mock instance.
    78  func NewMockPriceMonitor(ctrl *gomock.Controller) *MockPriceMonitor {
    79  	mock := &MockPriceMonitor{ctrl: ctrl}
    80  	mock.recorder = &MockPriceMonitorMockRecorder{mock}
    81  	return mock
    82  }
    83  
    84  // EXPECT returns an object that allows the caller to indicate expected use.
    85  func (m *MockPriceMonitor) EXPECT() *MockPriceMonitorMockRecorder {
    86  	return m.recorder
    87  }
    88  
    89  // GetValidPriceRange mocks base method.
    90  func (m *MockPriceMonitor) GetValidPriceRange() (num.WrappedDecimal, num.WrappedDecimal) {
    91  	m.ctrl.T.Helper()
    92  	ret := m.ctrl.Call(m, "GetValidPriceRange")
    93  	ret0, _ := ret[0].(num.WrappedDecimal)
    94  	ret1, _ := ret[1].(num.WrappedDecimal)
    95  	return ret0, ret1
    96  }
    97  
    98  // GetValidPriceRange indicates an expected call of GetValidPriceRange.
    99  func (mr *MockPriceMonitorMockRecorder) GetValidPriceRange() *gomock.Call {
   100  	mr.mock.ctrl.T.Helper()
   101  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetValidPriceRange", reflect.TypeOf((*MockPriceMonitor)(nil).GetValidPriceRange))
   102  }
   103  
   104  // MockIDGen is a mock of IDGen interface.
   105  type MockIDGen struct {
   106  	ctrl     *gomock.Controller
   107  	recorder *MockIDGenMockRecorder
   108  }
   109  
   110  // MockIDGenMockRecorder is the mock recorder for MockIDGen.
   111  type MockIDGenMockRecorder struct {
   112  	mock *MockIDGen
   113  }
   114  
   115  // NewMockIDGen creates a new mock instance.
   116  func NewMockIDGen(ctrl *gomock.Controller) *MockIDGen {
   117  	mock := &MockIDGen{ctrl: ctrl}
   118  	mock.recorder = &MockIDGenMockRecorder{mock}
   119  	return mock
   120  }
   121  
   122  // EXPECT returns an object that allows the caller to indicate expected use.
   123  func (m *MockIDGen) EXPECT() *MockIDGenMockRecorder {
   124  	return m.recorder
   125  }
   126  
   127  // NextID mocks base method.
   128  func (m *MockIDGen) NextID() string {
   129  	m.ctrl.T.Helper()
   130  	ret := m.ctrl.Call(m, "NextID")
   131  	ret0, _ := ret[0].(string)
   132  	return ret0
   133  }
   134  
   135  // NextID indicates an expected call of NextID.
   136  func (mr *MockIDGenMockRecorder) NextID() *gomock.Call {
   137  	mr.mock.ctrl.T.Helper()
   138  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NextID", reflect.TypeOf((*MockIDGen)(nil).NextID))
   139  }