(result1 []byte, result2 error)
| 133 | } |
| 134 | |
| 135 | func (fake *SignerSerializer) SignReturns(result1 []byte, result2 error) { |
| 136 | fake.signMutex.Lock() |
| 137 | defer fake.signMutex.Unlock() |
| 138 | fake.SignStub = nil |
| 139 | fake.signReturns = struct { |
| 140 | result1 []byte |
| 141 | result2 error |
| 142 | }{result1, result2} |
| 143 | } |
| 144 | |
| 145 | func (fake *SignerSerializer) SignReturnsOnCall(i int, result1 []byte, result2 error) { |
| 146 | fake.signMutex.Lock() |