I don't see a unit test for this in JobCuratorTest. I see a mock being used in UnpauseJobTest which is good, but nothing testing the actual implementation. A simple unit test would be nice especially if we change it going forward.