File tree 1 file changed +31
-0
lines changed
src/test/java/modisefileupload/java/test
1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ package modisefileupload .java .test ;
2
+ import static org .junit .Assert .*;
3
+
4
+ import org .junit .Test ;
5
+ import org .junit .runner .RunWith ;
6
+ import org .springframework .beans .factory .annotation .Autowired ;
7
+ import org .springframework .test .context .ContextConfiguration ;
8
+ import org .springframework .test .context .junit4 .SpringJUnit4ClassRunner ;
9
+ import org .springframework .test .context .web .AnnotationConfigWebContextLoader ;
10
+ import org .springframework .test .context .web .WebAppConfiguration ;
11
+
12
+ import junit .framework .Assert ;
13
+ import modisefileupload .java .config .WebConfig ;
14
+ import modisefileupload .java .service .UserService ;
15
+
16
+ @ RunWith (SpringJUnit4ClassRunner .class )
17
+ @ WebAppConfiguration
18
+ @ ContextConfiguration (classes ={WebConfig .class }, loader =AnnotationConfigWebContextLoader .class )
19
+ public class FileUploadTest {
20
+
21
+ @ Autowired
22
+ private UserService userService ;
23
+
24
+ @ Test
25
+ public void testSavingUser () {
26
+ //Assert
27
+
28
+ fail ("Not yet implemented" );
29
+ }
30
+
31
+ }
You can’t perform that action at this time.
0 commit comments