The UnitStateAwaiter is a generic solution to wait till a unit has a specific state. It can be used in unit tests to replace the Thread.sleep() which speeds up the test.
I already used it for the AbsenceEnergySavingAgentTest. Please also use it for the other agent tests.
The UnitStateAwaiter is a generic solution to wait till a unit has a specific state. It can be used in unit tests to replace the Thread.sleep() which speeds up the test.
I already used it for the AbsenceEnergySavingAgentTest. Please also use it for the other agent tests.