4 "github.com/gorilla/mux"
5 "github.com/stretchr/testify/mock"
9 type NodebControllerMock struct {
13 func (rc *NodebControllerMock) HandleRequest(writer http.ResponseWriter, request *http.Request) {
17 func (rc *NodebControllerMock) GetNodebIdList (writer http.ResponseWriter, request *http.Request) {
21 func (rc *NodebControllerMock) GetNodeb(writer http.ResponseWriter, request *http.Request) {
22 writer.Header().Set("Content-Type", "application/json")
23 writer.WriteHeader(http.StatusOK)
25 vars := mux.Vars(request)
26 ranName := vars["ranName"]
28 writer.Write([]byte(ranName))
33 func (rc *NodebControllerMock) HandleHealthCheckRequest(writer http.ResponseWriter, request *http.Request) {