func (m *MockHandler) NewWriter(arg0 tally.Scope) (writer.Writer, error) {
	ret := m.ctrl.Call(m, "NewWriter", arg0)
	ret0, _ := ret[0].(writer.Writer)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
NewWriter mocks base method
package handler
import (
	"reflect"
	"github.com/m3db/m3aggregator/aggregator/handler/writer"
	"github.com/golang/mock/gomock"
	"github.com/uber-go/tally"
)
type MockHandler struct {
	ctrl     *gomock.Controller
	recorder *MockHandlerMockRecorder
}
type MockHandlerMockRecorder struct {
	mock *MockHandler
}
func NewMockHandler(ctrl *gomock.Controller) *MockHandler {
	mock := &MockHandler{ctrl: ctrl}
	mock.recorder = &MockHandlerMockRecorder{mock}
	return mock
}
func (m *MockHandler) EXPECT() *MockHandlerMockRecorder {
	return m.recorder
}
func (m *MockHandler) Close() {
	m.ctrl.Call(m, "Close")
}
func (mr *MockHandlerMockRecorder) Close() *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockHandler)(nil).Close))
}