mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-01-19 05:45:21 +01:00
18 lines
395 B
Go
18 lines
395 B
Go
package chainfee
|
|
|
|
import "github.com/stretchr/testify/mock"
|
|
|
|
type mockFeeSource struct {
|
|
mock.Mock
|
|
}
|
|
|
|
// A compile-time assertion to ensure that mockFeeSource implements the
|
|
// WebAPIFeeSource interface.
|
|
var _ WebAPIFeeSource = (*mockFeeSource)(nil)
|
|
|
|
func (m *mockFeeSource) GetFeeMap() (map[uint32]uint32, error) {
|
|
args := m.Called()
|
|
|
|
return args.Get(0).(map[uint32]uint32), args.Error(1)
|
|
}
|