func (_m *Client) CreateOrgRepo(org string, opt gitea.CreateRepoOption) (*gitea.Repository, *gitea.Response, error) {
	ret := _m.Called(org, opt)
	var r0 *gitea.Repository
	if rf, ok := ret.Get(0).(func(string, gitea.CreateRepoOption) *gitea.Repository); ok {
		r0 = rf(org, opt)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*gitea.Repository)
		}
	}
	var r1 *gitea.Response
	if rf, ok := ret.Get(1).(func(string, gitea.CreateRepoOption) *gitea.Response); ok {
		r1 = rf(org, opt)
	} else {
		if ret.Get(1) != nil {
			r1 = ret.Get(1).(*gitea.Response)
		}
	}
	var r2 error
	if rf, ok := ret.Get(2).(func(string, gitea.CreateRepoOption) error); ok {
		r2 = rf(org, opt)
	} else {
		r2 = ret.Error(2)
	}
	return r0, r1, r2
}
CreateOrgRepo provides a mock function with given fields: org, opt
package mocks
import (
	gitea "code.gitea.io/sdk/gitea"
	mock "github.com/stretchr/testify/mock"
)
type Client struct {
	mock.Mock
}