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

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: code.vegaprotocol.io/vega/core/liquidity/supplied (interfaces: PriceMonitor)
     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  )
    13  
    14  // MockPriceMonitor is a mock of PriceMonitor interface.
    15  type MockPriceMonitor struct {
    16  	ctrl     *gomock.Controller
    17  	recorder *MockPriceMonitorMockRecorder
    18  }
    19  
    20  // MockPriceMonitorMockRecorder is the mock recorder for MockPriceMonitor.
    21  type MockPriceMonitorMockRecorder struct {
    22  	mock *MockPriceMonitor
    23  }
    24  
    25  // NewMockPriceMonitor creates a new mock instance.
    26  func NewMockPriceMonitor(ctrl *gomock.Controller) *MockPriceMonitor {
    27  	mock := &MockPriceMonitor{ctrl: ctrl}
    28  	mock.recorder = &MockPriceMonitorMockRecorder{mock}
    29  	return mock
    30  }
    31  
    32  // EXPECT returns an object that allows the caller to indicate expected use.
    33  func (m *MockPriceMonitor) EXPECT() *MockPriceMonitorMockRecorder {
    34  	return m.recorder
    35  }
    36  
    37  // GetValidPriceRange mocks base method.
    38  func (m *MockPriceMonitor) GetValidPriceRange() (num.WrappedDecimal, num.WrappedDecimal) {
    39  	m.ctrl.T.Helper()
    40  	ret := m.ctrl.Call(m, "GetValidPriceRange")
    41  	ret0, _ := ret[0].(num.WrappedDecimal)
    42  	ret1, _ := ret[1].(num.WrappedDecimal)
    43  	return ret0, ret1
    44  }
    45  
    46  // GetValidPriceRange indicates an expected call of GetValidPriceRange.
    47  func (mr *MockPriceMonitorMockRecorder) GetValidPriceRange() *gomock.Call {
    48  	mr.mock.ctrl.T.Helper()
    49  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetValidPriceRange", reflect.TypeOf((*MockPriceMonitor)(nil).GetValidPriceRange))
    50  }