func (c *ContextMock) GetCurrentUser() (interface{}, error) {
	args := c.Called()
	return args.Get(0), args.Error(1)
}
GetCurrentUser get current user
package application
import (
	"fmt"
	"github.com/PolarPanda611/trinitygo/httputil"
	"github.com/gin-gonic/gin"
	"github.com/jinzhu/gorm"
	"github.com/stretchr/testify/mock"
)
var _ Context = new(ContextMock)
type ContextMock struct {
	mock.Mock
}
func (c *ContextMock) NewHTTPServiceRequest(serviceName string, method httputil.RequestMethod, path string, body []byte) (int, interface{}, error) {
	args := c.Called(serviceName, method, path, body)
	return args.Int(0), args.Get(1), args.Error(2)
}
func (c *ContextMock) Application() Application {
	args := c.Called()
	return args.Get(0).(Application)
}
func (c *ContextMock) AutoFreeOn() {
}
func (c *ContextMock) AutoFreeOff() {
}
func (c *ContextMock) AutoFree() bool {
	args := c.Called()
	return args.Bool(0)
}
func (c *ContextMock) SetIsConfigured() {}
func (c *ContextMock) IsConfigured() bool {
	args := c.Called()
	return args.Bool(0)
}
func (c *ContextMock) setRuntime(map[string]string) {}
func (c *ContextMock) Runtime() map[string]string {
	args := c.Called()
	return args.Get(0).(map[string]string)
}
func (c *ContextMock) DB() *gorm.DB {
	args := c.Called()
	return args.Get(0).(*gorm.DB)
}
func (c *ContextMock) DBTx() *gorm.DB {
	args := c.Called()
	return args.Get(0).(*gorm.DB)
}
func (c *ContextMock) SafeCommit() {}
func (c *ContextMock) SafeRollback() {}
func (c *ContextMock) DBTxIsOpen() bool {
	args := c.Called()
	return args.Get(0).(bool)
}
func (c *ContextMock) setGinCTX(gCtx *gin.Context) {
}
func (c *ContextMock) GinCtx() *gin.Context {
	args := c.Called()
	return args.Get(0).(*gin.Context)
}
func (c *ContextMock) SetDB(*gorm.DB) {}
func (c *ContextMock) cleanRuntime() {
	fmt.Println("123")
}