@@ -0,0 +1,973 @@
+package com.example.bot.spring;%0Aimport static org.assertj.core.api.Assertions.assertThat;%0Aimport java.util.ArrayList;%0Aimport org.junit.Test;%0Aimport org.junit.Ignore;%0Aimport org.junit.runner.RunWith;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.boot.test.context.SpringBootTest;%0Aimport org.springframework.test.context.junit4.SpringRunner;%0Aimport com.example.bot.spring.database.*;%0A%0A@RunWith(SpringRunner.class)%0A@SpringBootTest(classes = %7B BookingDBEngineTest.class, BookingDBEngine.class%7D)%0A%0Apublic class Double11Tester %7B%0A%09@Autowired%0A%09private DoubleElevDBEngine DEDBE;%0A%09%0A%09@Test%0A%09public void getDiscountBookidTester() throws Exception %7B%0A%09%09String sentTour = DEDBE.getDiscountBookid(%22sent%22);%0A%09%09//String releasedTour = DEDBE.getDiscountBookid(%22release%22);%0A%09%09%0A%09%09if(sentTour != null) %7B%0A%09%09%09DEDBE.updateBroadcastedTours(sentTour);%09%0A%09%09%09DEDBE.updateActivityStatus();%0A%09%09%09DEDBE.ifTourFull(sentTour);%0A%09%09%09DEDBE.updateQuota(sentTour);%0A%09%09%7D%0A%09%7D%09%0A%7D%0A

add tester