import com.alibaba.fastjson.JSON;
import com.gic.api.base.commons.ServiceResponse;
import com.gic.haoban.manage.api.service.content.task.CommissionTaskApiService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * @Author MUSI
 * @Date 2023/6/7 4:34 PM
 * @Description
 * @Version
 **/
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = {"classpath:applicationContext-conf.xml"})
public class CommissionClerkTest {

    @Autowired
    private CommissionTaskApiService commissionTaskApiService;

    @Test
    public void clerkCommission() {
        ServiceResponse<Void> serviceResponse = commissionTaskApiService.handlerCommissionNotify("");
        System.out.println(JSON.toJSONString(serviceResponse));
    }
}
