// Copy provides a mock function with given fields:
Copy provides a mock function with given fields.
// Copy provides a mock function with given fields :
func (_m *MgoSession) Copy() *mgo.Session {
	ret := _m.Called()
	var r0 *mgo.Session
	if rf, ok := ret.Get(0).(func() *mgo.Session); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*mgo.Session)
		}
	}
	return r0
}
func ( _m * MgoSession ) Copy ( ) * mgo . Session { ret := _m . Called ( ) var r0 * mgo . Session if rf , ok := ret . Get ( 0 ) . ( func ( ) * mgo . Session ) ; ok { r0 = rf ( ) } else { if ret . Get ( 0 ) != nil { r0 = ret . Get ( 0 ) . ( * mgo . Session ) } } return r0 }
Copy provides a mock function with given fields.
Copy provides a mock function with given fields .