NewCustomTokenFactory represents mock of the TokenFactory
(token string)
| 7 | |
| 8 | // NewCustomTokenFactory represents mock of the TokenFactory |
| 9 | func NewCustomTokenFactory(token string) baseclient.TokenFactory { |
| 10 | return &customTokenFactory{tokenString: token} |
| 11 | } |
| 12 | |
| 13 | type customTokenFactory struct { |
| 14 | tokenString string |
no outgoing calls