My integration tests were getting very polluted and with duplicate code (start and stop)
I also find it elegant not to have to worry about managing the start and stop of the service.
In some cases I needed to validate if the service was "on" so I also added an isStarted() method.
Motivation
:My integration tests were getting very polluted and with duplicate code (start and stop) I also find it elegant not to have to worry about managing the start and stop of the service. In some cases I needed to validate if the service was "on" so I also added an
isStarted()
method.