func (_m *DockerClient) NetworkList(ctx context.Context, options types.NetworkListOptions) ([]types.NetworkResource, error) {
	ret := _m.Called(ctx, options)

	var r0 []types.NetworkResource
	if rf, ok := ret.Get(0).(func(context.Context, types.NetworkListOptions) []types.NetworkResource); ok {
		r0 = rf(ctx, options)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]types.NetworkResource)
		}
	}

	var r1 error
	if rf, ok := ret.Get(1).(func(context.Context, types.NetworkListOptions) error); ok {
		r1 = rf(ctx, options)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}
// NetworkList provides a mock function with given fields: ctx, options
NetworkList provides a mock function with given fields: ctx, options
// NetworkList provides a mock function with given fields : ctx options
func (_m *DockerClient) NetworkList(ctx context.Context, options types.NetworkListOptions) ([]types.NetworkResource, error) {
	ret := _m.Called(ctx, options)
	var r0 []types.NetworkResource
	if rf, ok := ret.Get(0).(func(context.Context, types.NetworkListOptions) []types.NetworkResource); ok {
		r0 = rf(ctx, options)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]types.NetworkResource)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(context.Context, types.NetworkListOptions) error); ok {
		r1 = rf(ctx, options)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func ( _m * DockerClient ) NetworkList ( ctx context . Context , options types . NetworkListOptions ) ( [ ] types . NetworkResource , error ) { ret := _m . Called ( ctx , options ) var r0 [ ] types . NetworkResource if rf , ok := ret . Get ( 0 ) . ( func ( context . Context , types . NetworkListOptions ) [ ] types . NetworkResource ) ; ok { r0 = rf ( ctx , options ) } else { if ret . Get ( 0 ) != nil { r0 = ret . Get ( 0 ) . ( [ ] types . NetworkResource ) } } var r1 error if rf , ok := ret . Get ( 1 ) . ( func ( context . Context , types . NetworkListOptions ) error ) ; ok { r1 = rf ( ctx , options ) } else { r1 = ret . Error ( 1 ) } return r0 , r1 }
NetworkList provides a mock function with given fields: ctx, options
NetworkList provides a mock function with given fields : ctx options