func (a *testApplication) Post(path string, pathargs ...interface{}) *httpexpect.Request {
	return a.expect.Request(http.MethodPost, path, pathargs...)
}
Post wrap of Request with POST method
package web
import (
	"net/http"
	"testing"
	"github.com/iris-contrib/httpexpect"
	"github.com/kataras/iris/httptest"
	"github.com/stretchr/testify/assert"
	"hidevops.io/hiboot/pkg/log"
)
type TestApplication interface {
	Initialize() error
	SetProperty(name string, value ...interface{}) TestApplication
	Run(t *testing.T) TestApplication
	Request(method, path string, pathargs ...interface{}) *httpexpect.Request
	Post(path string, pathargs ...interface{}) *httpexpect.Request
	Get(path string, pathargs ...interface{}) *httpexpect.Request
	Put(path string, pathargs ...interface{}) *httpexpect.Request
	Delete(path string, pathargs ...interface{}) *httpexpect.Request
	Patch(path string, pathargs ...interface{}) *httpexpect.Request
	Options(path string, pathargs ...interface{}) *httpexpect.Request
}
type testApplication struct {
	application
	expect *httpexpect.Expect
}
func RunTestApplication(t *testing.T, controllers ...interface{}) TestApplication {
	log.SetLevel(log.DebugLevel)
	a := new(testApplication)
	err := a.initialize(controllers...)
	assert.Equal(t, nil, err)
	a.Run(t)
	return a
}
var NewTestApplication = RunTestApplication
func NewTestApp(controllers ...interface{}) TestApplication {
	log.SetLevel(log.DebugLevel)
	a := new(testApplication)
	a.initialize(controllers...)
	return a
}
func (a *testApplication) SetProperty(name string, value ...interface{}) TestApplication {
	a.BaseApplication.SetProperty(name, value...)
	return a
}
func (a *testApplication) Run(t *testing.T) TestApplication {
	err := a.build()
	if err != nil {
		log.Error(err)
	}
	a.expect = httptest.New(t, a.webApp.Application)
	log.SetLevel(a.SystemConfig().Logging.Level)
	return a
}
func (a *testApplication) Request(method, path string, pathargs ...interface{}) *httpexpect.Request {
	return a.expect.Request(method, path, pathargs...)
}