ScheduleServiceImplTest.java 667 B

1234567891011121314151617181920212223242526
  1. package com.example.cinema.blImpl;
  2. import com.example.cinema.bl.ScheduleService;
  3. import org.junit.Test;
  4. import org.junit.runner.RunWith;
  5. import org.springframework.beans.factory.annotation.Autowired;
  6. import org.springframework.boot.test.context.SpringBootTest;
  7. import org.springframework.test.context.junit4.SpringRunner;
  8. import static org.junit.Assert.*;
  9. /**
  10. * @author fjj
  11. * @date 2019/4/21 12:08 AM
  12. */
  13. @RunWith(SpringRunner.class)
  14. @SpringBootTest
  15. public class ScheduleServiceImplTest {
  16. @Autowired
  17. private ScheduleService scheduleService;
  18. @Test
  19. public void searchAudienceSchedule() {
  20. scheduleService.searchAudienceSchedule(16);
  21. }
  22. }