// Automatically generated by MockGen. DO NOT EDIT!
// Source: cgroup.go

package cgroup

import (
	gomock "github.com/golang/mock/gomock"
)

// Mock of Parser interface
type MockParser struct {
	ctrl     *gomock.Controller
	recorder *_MockParserRecorder
}

// Recorder for MockParser (not exported)
type _MockParserRecorder struct {
	mock *MockParser
}

func NewMockParser(ctrl *gomock.Controller) *MockParser {
	mock := &MockParser{ctrl: ctrl}
	mock.recorder = &_MockParserRecorder{mock}
	return mock
}

func (_m *MockParser) EXPECT() *_MockParserRecorder {
	return _m.recorder
}

func (_m *MockParser) Parse(pid int) (map[string]string, error) {
	ret := _m.ctrl.Call(_m, "Parse", pid)
	ret0, _ := ret[0].(map[string]string)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

func (_mr *_MockParserRecorder) Parse(arg0 interface{}) *gomock.Call {
	return _mr.mock.ctrl.RecordCall(_mr.mock, "Parse", arg0)
}
