github.com/kyma-incubator/compass/components/director@v0.0.0-20230623144113-d764f56ff805/internal/healthz/automock/status.go (about)

     1  // Code generated by mockery. DO NOT EDIT.
     2  
     3  package automock
     4  
     5  import mock "github.com/stretchr/testify/mock"
     6  
     7  // Status is an autogenerated mock type for the Status type
     8  type Status struct {
     9  	mock.Mock
    10  }
    11  
    12  // Details provides a mock function with given fields:
    13  func (_m *Status) Details() string {
    14  	ret := _m.Called()
    15  
    16  	var r0 string
    17  	if rf, ok := ret.Get(0).(func() string); ok {
    18  		r0 = rf()
    19  	} else {
    20  		r0 = ret.Get(0).(string)
    21  	}
    22  
    23  	return r0
    24  }
    25  
    26  // Error provides a mock function with given fields:
    27  func (_m *Status) Error() error {
    28  	ret := _m.Called()
    29  
    30  	var r0 error
    31  	if rf, ok := ret.Get(0).(func() error); ok {
    32  		r0 = rf()
    33  	} else {
    34  		r0 = ret.Error(0)
    35  	}
    36  
    37  	return r0
    38  }
    39  
    40  type mockConstructorTestingTNewStatus interface {
    41  	mock.TestingT
    42  	Cleanup(func())
    43  }
    44  
    45  // NewStatus creates a new instance of Status. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
    46  func NewStatus(t mockConstructorTestingTNewStatus) *Status {
    47  	mock := &Status{}
    48  	mock.Mock.Test(t)
    49  
    50  	t.Cleanup(func() { mock.AssertExpectations(t) })
    51  
    52  	return mock
    53  }