stamm/dep_radar

View on GitHub
mocks/i_web_client.go

Summary

Maintainability
A
0 mins
Test Coverage
package mocks

import context "context"
import dep_radar "github.com/stamm/dep_radar"
import mock "github.com/stretchr/testify/mock"

// IWebClient is an autogenerated mock type for the IWebClient type
type IWebClient struct {
    mock.Mock
}

// Get provides a mock function with given fields: _a0, _a1
func (_m *IWebClient) Get(_a0 context.Context, _a1 string) ([]byte, error) {
    ret := _m.Called(_a0, _a1)

    var r0 []byte
    if rf, ok := ret.Get(0).(func(context.Context, string) []byte); ok {
        r0 = rf(_a0, _a1)
    } else {
        if ret.Get(0) != nil {
            r0 = ret.Get(0).([]byte)
        }
    }

    var r1 error
    if rf, ok := ret.Get(1).(func(context.Context, string) error); ok {
        r1 = rf(_a0, _a1)
    } else {
        r1 = ret.Error(1)
    }

    return r0, r1
}

var _ dep_radar.IWebClient = (*IWebClient)(nil)