File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
app/src/test/java/org/example/helper Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ package org .example .helper ;
2
+
3
+ import org .example .domain .auth .AuthService ;
4
+ import org .example .domain .auth .AuthenticationContext ;
5
+ import org .example .domain .auth .jwt .JWTUtil ;
6
+ import org .example .domain .member .MemberService ;
7
+ import org .mockito .junit .jupiter .MockitoSettings ;
8
+ import org .springframework .data .jpa .mapping .JpaMetamodelMappingContext ;
9
+ import org .springframework .test .context .bean .override .mockito .MockitoBean ;
10
+
11
+ public class MockBeanInjection {
12
+ //auth
13
+ @ MockitoBean
14
+ protected JWTUtil jwtUtil ;
15
+ @ MockitoBean
16
+ protected AuthenticationContext authenticationContext ;
17
+ @ MockitoBean
18
+ protected AuthService authService ;
19
+ @ MockitoBean
20
+ protected MemberService memberService ;
21
+
22
+ }
You can’t perform that action at this time.
0 commit comments