`<scope>test</scope>` was perhaps omitted unintentionally when switching from powermock to mockito? https://github.com/AsyncHttpClient/async-http-client/commit/7416a3867127879d4bcd8a2dc44ad00029e190a0#diff-600376dffeb79835ede4a0b285078036L386 A PR follows.