VIPServiceImplTest.java 729 B

12345678910111213141516171819202122232425262728293031
  1. package com.example.cinema.bl;
  2. import com.example.cinema.vo.VIPCardForm;
  3. import com.example.cinema.vo.ResponseVO;
  4. import org.junit.Test;
  5. import org.junit.runner.RunWith;
  6. import org.springframework.beans.factory.annotation.Autowired;
  7. import org.springframework.boot.test.context.SpringBootTest;
  8. import org.springframework.test.context.junit4.SpringRunner;
  9. /**
  10. * Created by liying on 2019/4/14.
  11. */
  12. @RunWith(SpringRunner.class)
  13. @SpringBootTest
  14. public class VIPServiceImplTest {
  15. @Autowired
  16. VIPService vipService;
  17. @Test
  18. public void addVIPCard() throws Exception {
  19. }
  20. @Test
  21. public void getCardById() throws Exception {
  22. ResponseVO vo=vipService.getCardById(2);
  23. vo.getContent();
  24. }
  25. }