FollowCalls gets all the calls that were made to Follow. Check the length with: len(mockedLogRenderer.FollowCalls())
()
| 88 | // |
| 89 | // len(mockedLogRenderer.FollowCalls()) |
| 90 | func (mock *LogRendererMock) FollowCalls() []struct { |
| 91 | Fetcher func() ([]byte, error) |
| 92 | W io.Writer |
| 93 | IoMoqParam *iostreams.IOStreams |
| 94 | } { |
| 95 | var calls []struct { |
| 96 | Fetcher func() ([]byte, error) |
| 97 | W io.Writer |
| 98 | IoMoqParam *iostreams.IOStreams |
| 99 | } |
| 100 | mock.lockFollow.RLock() |
| 101 | calls = mock.calls.Follow |
| 102 | mock.lockFollow.RUnlock() |
| 103 | return calls |
| 104 | } |
| 105 | |
| 106 | // Render calls RenderFunc. |
| 107 | func (mock *LogRendererMock) Render(logs []byte, w io.Writer, ioMoqParam *iostreams.IOStreams) (bool, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected