Habr<p>Красиво инжектим JwtAuthenticationToken в Spring Boot юнит тесты</p><p>Как часто вам приходится тестировать аутентификацию в ваших юнит тестах Spring Boot приложений? Мне довольно часто. И сейчас расскажу о своем кейсе, где я сделал эту работу удобней.</p><p><a href="https://habr.com/ru/articles/931476/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">habr.com/ru/articles/931476/</span><span class="invisible"></span></a></p><p><a href="https://zhub.link/tags/spring_framework" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>spring_framework</span></a> <a href="https://zhub.link/tags/spring_boot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>spring_boot</span></a> <a href="https://zhub.link/tags/spring_security" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>spring_security</span></a> <a href="https://zhub.link/tags/oauth2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>oauth2</span></a> <a href="https://zhub.link/tags/junit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>junit</span></a></p>