func (e *Expect) BodyEquals(pattern string) *Expect {
	e.AssertFunc(assert.BodyEquals(pattern))
	return e
}
BodyEquals asserts as strict equality comparison the
response body with a given string string.
package baloo
import (
	"fmt"
	"net/http"
	"gopkg.in/h2non/baloo.v3/assert"
	"gopkg.in/h2non/gentleman.v2"
)
var Assertions = make(map[string]assert.Func)
func AddAssertFunc(name string, fn assert.Func) {
	Assertions[name] = fn
}
func FlushAssertFuncs() {
	Assertions = make(map[string]assert.Func)
}
type TestingT interface {
	Error(args ...interface{})
}
type Expect struct {
	test       TestingT
	request    *Request
	assertions []assert.Func
}
func NewExpect(req *Request) *Expect {
	return &Expect{request: req}
}
func (e *Expect) BindTest(t TestingT) *Expect {
	e.test = t
	return e
}
func (e *Expect) Status(code int) *Expect {
	e.AssertFunc(assert.StatusEqual(code))
	return e
}
func (e *Expect) StatusOk() *Expect {
	e.AssertFunc(assert.StatusOk())
	return e
}
func (e *Expect) StatusError() *Expect {
	e.AssertFunc(assert.StatusError())
	return e
}
func (e *Expect) StatusServerError() *Expect {
	e.AssertFunc(assert.StatusServerError())
	return e
}
func (e *Expect) StatusClientError() *Expect {
	e.AssertFunc(assert.StatusClientError())
	return e
}
func (e *Expect) Type(kind string) *Expect {
	e.AssertFunc(assert.Type(kind))
	return e
}
func (e *Expect) Header(key, value string) *Expect {
	e.AssertFunc(assert.Header(key, value))
	return e
}
func (e *Expect) HeaderEquals(key, value string) *Expect {
	e.AssertFunc(assert.HeaderEquals(key, value))
	return e
}
func (e *Expect) HeaderNotEquals(key, value string) *Expect {
	e.AssertFunc(assert.HeaderNotEquals(key, value))
	return e
}
func (e *Expect) HeaderPresent(key string) *Expect {
	e.AssertFunc(assert.HeaderPresent(key))
	return e
}
func (e *Expect) HeaderNotPresent(key string) *Expect {
	e.AssertFunc(assert.HeaderNotPresent(key))
	return e
}
func (e *Expect) RedirectTo(uri string) *Expect {
	e.AssertFunc(assert.RedirectTo(uri))
	return e
}