github.com/kyma-project/kyma-environment-broker@v0.0.1/internal/process/upgrade_kyma/automock/step_condition.go (about)

     1  // Code generated by mockery v2.9.4. DO NOT EDIT.
     2  
     3  package automock
     4  
     5  import (
     6  	internal "github.com/kyma-project/kyma-environment-broker/internal"
     7  	mock "github.com/stretchr/testify/mock"
     8  )
     9  
    10  // StepCondition is an autogenerated mock type for the StepCondition type
    11  type StepCondition struct {
    12  	mock.Mock
    13  }
    14  
    15  // Execute provides a mock function with given fields: operation
    16  func (_m *StepCondition) Execute(operation internal.UpgradeKymaOperation) bool {
    17  	ret := _m.Called(operation)
    18  
    19  	var r0 bool
    20  	if rf, ok := ret.Get(0).(func(internal.UpgradeKymaOperation) bool); ok {
    21  		r0 = rf(operation)
    22  	} else {
    23  		r0 = ret.Get(0).(bool)
    24  	}
    25  
    26  	return r0
    27  }