package io.hmit.modules.appointment.service.impl;

import io.hmit.modules.appointment.service.AppointmentOrderService;
import lombok.extern.slf4j.Slf4j;
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;
import org.springframework.transaction.annotation.Transactional;

import static org.junit.Assert.*;

/**
 * TODO
 *
 * @author Shen && syf0412@vip.qq.com
 * @since 2022/9/27 10:17
 */
@RunWith(SpringRunner.class)
@SpringBootTest
@Slf4j
public class AppointmentOrderServiceImplTest {

    @Autowired
    private AppointmentOrderService appointmentOrderService;

    @Test
    @Transactional
    public void encryptOneTime() {
        appointmentOrderService.encryptOneTime();
    }
}