| 12345678910111213141516171819202122232425262728293031 |
- package com.example.cinema.bl;
- import com.example.cinema.vo.VIPCardForm;
- import com.example.cinema.vo.ResponseVO;
- import org.junit.Test;
- import org.junit.runner.RunWith;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.boot.test.context.SpringBootTest;
- import org.springframework.test.context.junit4.SpringRunner;
- /**
- * Created by liying on 2019/4/14.
- */
- @RunWith(SpringRunner.class)
- @SpringBootTest
- public class VIPServiceImplTest {
- @Autowired
- VIPService vipService;
- @Test
- public void addVIPCard() throws Exception {
- }
- @Test
- public void getCardById() throws Exception {
- ResponseVO vo=vipService.getCardById(2);
- vo.getContent();
- }
- }
|