func (_m *SceneReaderWriter) FindByChecksum(checksum string) (*models.Scene, error) {
	ret := _m.Called(checksum)

	var r0 *models.Scene
	if rf, ok := ret.Get(0).(func(string) *models.Scene); ok {
		r0 = rf(checksum)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*models.Scene)
		}
	}

	var r1 error
	if rf, ok := ret.Get(1).(func(string) error); ok {
		r1 = rf(checksum)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}
// FindByChecksum provides a mock function with given fields: checksum
FindByChecksum provides a mock function with given fields: checksum
// FindByChecksum provides a mock function with given fields : checksum
func (_m *SceneReaderWriter) FindByChecksum(checksum string) (*models.Scene, error) {
	ret := _m.Called(checksum)
	var r0 *models.Scene
	if rf, ok := ret.Get(0).(func(string) *models.Scene); ok {
		r0 = rf(checksum)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*models.Scene)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(string) error); ok {
		r1 = rf(checksum)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func ( _m * SceneReaderWriter ) FindByChecksum ( checksum string ) ( * models . Scene , error ) { ret := _m . Called ( checksum ) var r0 * models . Scene if rf , ok := ret . Get ( 0 ) . ( func ( string ) * models . Scene ) ; ok { r0 = rf ( checksum ) } else { if ret . Get ( 0 ) != nil { r0 = ret . Get ( 0 ) . ( * models . Scene ) } } var r1 error if rf , ok := ret . Get ( 1 ) . ( func ( string ) error ) ; ok { r1 = rf ( checksum ) } else { r1 = ret . Error ( 1 ) } return r0 , r1 }
FindByChecksum provides a mock function with given fields: checksum
FindByChecksum provides a mock function with given fields : checksum