package com.izouma.zhirongip.service.resource;

import com.izouma.zhirongip.ApplicationTests;
import com.izouma.zhirongip.dto.PageQuery;
import com.izouma.zhirongip.web.resource.SuccessCaseController;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Map;

class SuccessCaseServiceTest extends ApplicationTests {
  @Autowired private SuccessCaseController successCaseController;

  @Test
  void all() {

    PageQuery pageQuery = new PageQuery();
    Map<String, Object> query = pageQuery.getQuery();
    query.put("money","0,1");
    System.out.println(successCaseController.all(pageQuery));
  }
}
