(fakeCliConnection *fakes.FakeCliConnection)
| 11 | } |
| 12 | |
| 13 | func NewTestTokenFactory(fakeCliConnection *fakes.FakeCliConnection) *TestTokenFactory { |
| 14 | return &TestTokenFactory{ |
| 15 | FakeCliConnection: fakeCliConnection, |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | func (f *TestTokenFactory) NewToken() (runtime.ClientAuthInfoWriter, error) { |
| 20 | tokenString, _ := f.NewRawToken() |
no outgoing calls
no test coverage detected