// ToUnstructured provides a mock function with given fields: obj
ToUnstructured provides a mock function with given fields: obj
// ToUnstructured provides a mock function with given fields : obj
func (_m *UnstructuredConverter) ToUnstructured(obj interface{}) (map[string]interface{}, error) {
	ret := _m.Called(obj)
	var r0 map[string]interface{}
	if rf, ok := ret.Get(0).(func(interface{}) map[string]interface{}); ok {
		r0 = rf(obj)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(map[string]interface{})
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(interface{}) error); ok {
		r1 = rf(obj)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func ( _m * UnstructuredConverter ) ToUnstructured ( obj interface { } ) ( map [ string ] interface { } , error ) { ret := _m . Called ( obj ) var r0 map [ string ] interface { } if rf , ok := ret . Get ( 0 ) . ( func ( interface { } ) map [ string ] interface { } ) ; ok { r0 = rf ( obj ) } else { if ret . Get ( 0 ) != nil { r0 = ret . Get ( 0 ) . ( map [ string ] interface { } ) } } var r1 error if rf , ok := ret . Get ( 1 ) . ( func ( interface { } ) error ) ; ok { r1 = rf ( obj ) } else { r1 = ret . Error ( 1 ) } return r0 , r1 }
ToUnstructured provides a mock function with given fields: obj
ToUnstructured provides a mock function with given fields : obj