16 lines
304 B
Go
16 lines
304 B
Go
package mocks
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
"github.com/stretchr/testify/mock"
|
|
)
|
|
|
|
type MockWebClientValidator struct {
|
|
mock.Mock
|
|
}
|
|
|
|
func (m *MockWebClientValidator) ValidateWebClientUsingProjectName(c *gin.Context) (string, error) {
|
|
args := m.Called(c)
|
|
return args.String(0), args.Error(1)
|
|
}
|