func getIt(req *restful.Request, resp *restful.Response) {
	resp.WriteHeader(204)
}
This example show how to test one particular RouteFunction (getIt)
It uses the httptest.ResponseRecorder to capture output
package main
import (
	"net/http"
	"net/http/httptest"
	"testing"
	"github.com/emicklei/go-restful"
)