| 6 | ) |
| 7 | |
| 8 | type SignerSerializer struct { |
| 9 | SerializeStub func() ([]byte, error) |
| 10 | serializeMutex sync.RWMutex |
| 11 | serializeArgsForCall []struct { |
| 12 | } |
| 13 | serializeReturns struct { |
| 14 | result1 []byte |
| 15 | result2 error |
| 16 | } |
| 17 | serializeReturnsOnCall map[int]struct { |
| 18 | result1 []byte |
| 19 | result2 error |
| 20 | } |
| 21 | SignStub func([]byte) ([]byte, error) |
| 22 | signMutex sync.RWMutex |
| 23 | signArgsForCall []struct { |
| 24 | arg1 []byte |
| 25 | } |
| 26 | signReturns struct { |
| 27 | result1 []byte |
| 28 | result2 error |
| 29 | } |
| 30 | signReturnsOnCall map[int]struct { |
| 31 | result1 []byte |
| 32 | result2 error |
| 33 | } |
| 34 | invocations map[string][][]interface{} |
| 35 | invocationsMutex sync.RWMutex |
| 36 | } |
| 37 | |
| 38 | func (fake *SignerSerializer) Serialize() ([]byte, error) { |
| 39 | fake.serializeMutex.Lock() |
nothing calls this directly
no outgoing calls
no test coverage detected