//package com.palmnest.webapp.controller;
//
//import com.palmnest.model.User;
//import com.palmnest.service.UserManager;
//import com.palmnest.service.estateserve.AppUserManager;
//import org.apache.commons.lang3.StringUtils;
//import org.junit.Test;
//import org.springframework.beans.factory.annotation.Autowired;
//
//import java.util.List;
//import java.util.Map;
//
//import static org.junit.Assert.assertNotNull;
//
//public class SignupControllerTest extends BaseControllerTestCase {
//    @Autowired
//    private SignupController c = null;
//
//    @Autowired
//    private AppUserManager appUserManager;
//    @Autowired
//    private UserManager userManager;
//
//    @Test
//    public void testDisplayForm() throws Exception {
//        User user = c.showForm();
//        assertNotNull(user);
//    }
//
//    @Test
//    public void testSignupUser() throws Exception {
//        List<Map<String, Object>> maps = appUserManager.getWeiXiaoAppUsersByIds("10008",605);
//        for (Map<String, Object> map : maps){
//            System.out.println(map.get("card_number"));
//            System.out.println(map.get("card_number")==null);
//            System.out.println(StringUtils.isBlank(map.get("card_number").toString()));
//        }
//    }
//}
