func (this *ModelBinderFixture) Setup() {
	this.controller = &Controller{}
	this.request, _ = http.NewRequest("GET", "/?binding=BindingInputModel", nil)
	this.response = httptest2.NewRecorder()
}
Esempio n. 2
0
func (this *ResultFixture) Setup() {
	this.response = httptest2.NewRecorder()
	this.request, _ = http.NewRequest("GET", "/", nil)
}