// FlushRequests discards all requests. It is useful to call this method in the
// end of the test (teardown), so requests from a test does not affect the
// result of other test.
FlushRequests discards all requests. It is useful to call this method in the
end of the test (teardown), so requests from a test does not affect the
result of other test.
// FlushRequests discards all requests . It is useful to call this method in the // end of the test ( teardown ) so requests from a test does not affect the // result of other test .
func (s *TestHTTPServer) FlushRequests() {
	for {
		select {
		case <-s.Request:
		default:
			return
		}
	}
}
func ( s * TestHTTPServer ) FlushRequests ( ) { for { select { case <- s . Request : default : return } } }
FlushRequests discards all requests.
FlushRequests discards all requests .