1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Move @Mock annotations

Update a couple of tests to use the more traditional `@Mock` annotation
placement.

Issue gh-8945
This commit is contained in:
Phillip Webb
2020-08-04 00:23:01 -07:00
committed by Rob Winch
parent 2f8e835b11
commit 1e840cc854
2 changed files with 10 additions and 5 deletions
@@ -59,7 +59,8 @@ public class AnnotationSecurityAspectTests {
private AffirmativeBased adm;
private @Mock AuthenticationManager authman;
@Mock
private AuthenticationManager authman;
private TestingAuthenticationToken anne = new TestingAuthenticationToken("anne", "", "ROLE_A");