| 154 | } |
| 155 | |
| 156 | type mockService struct { |
| 157 | services.Service |
| 158 | state services.State |
| 159 | listeners []services.Listener |
| 160 | } |
| 161 | |
| 162 | func (s *mockService) switchState(desiredState services.State) { |
| 163 | // Simulate all the states between the current state and the desired one. |
nothing calls this directly
no outgoing calls
no test coverage detected