package org.linlinjava.litemall.core;

import org.hibernate.validator.constraints.br.TituloEleitoral;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.linlinjava.jz.core.util.BeanUtil;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test.context.web.WebAppConfiguration;

@WebAppConfiguration
@RunWith(SpringRunner.class)
@SpringBootTest
public class wxTest {

    @Test
    public void xmlToMap(){
        String xml="<xml><appid>1111</appid><return_code>1111</return_code></xml>";
       // Object obj=   BeanUtil.xmlToBean(xml,WxClearanceResult.class);
    }
}
