github.com/pf-qiu/concourse/v6@v6.7.3-0.20201207032516-1f455d73275f/atc/component/cmocks/Runnable.go (about)

     1  // Code generated by mockery v2.2.1. DO NOT EDIT.
     2  
     3  package cmocks
     4  
     5  import (
     6  	context "context"
     7  
     8  	mock "github.com/stretchr/testify/mock"
     9  )
    10  
    11  // Runnable is an autogenerated mock type for the Runnable type
    12  type Runnable struct {
    13  	mock.Mock
    14  }
    15  
    16  // Run provides a mock function with given fields: _a0
    17  func (_m *Runnable) Run(_a0 context.Context) error {
    18  	ret := _m.Called(_a0)
    19  
    20  	var r0 error
    21  	if rf, ok := ret.Get(0).(func(context.Context) error); ok {
    22  		r0 = rf(_a0)
    23  	} else {
    24  		r0 = ret.Error(0)
    25  	}
    26  
    27  	return r0
    28  }