ProjectServiceImplTest.java 695 B

123456789101112131415161718192021222324
  1. package nju.seec.SEECdemo.service;
  2. import nju.seec.SEECdemo.SeecDemoApplication;
  3. import nju.seec.SEECdemo.logic.service.ProjectService;
  4. import nju.seec.SEECdemo.logic.vo.ProjectVO;
  5. import org.junit.Test;
  6. import org.junit.runner.RunWith;
  7. import org.springframework.beans.factory.annotation.Autowired;
  8. import org.springframework.boot.test.context.SpringBootTest;
  9. import org.springframework.test.context.junit4.SpringRunner;
  10. @RunWith(SpringRunner.class)
  11. @SpringBootTest
  12. public class ProjectServiceImplTest {
  13. @Autowired
  14. ProjectService projectService;
  15. @Test
  16. public void testCreate(){
  17. ProjectVO projectVO = new ProjectVO();
  18. projectVO.setName("test-group");
  19. }
  20. }