参考:http://blog.csdn.net/rainbow702/article/details/51783285
import com.fasterxml.jackson.databind.ObjectMapper;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.powermock.api.mockito.PowerMockito;
import org.powermock.core.classloader.annotations.PowerMockIgnore;
import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.modules.junit4.PowerMockRunner;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import static org.assertj.core.api.Assertions.assertThat;
import static org.powermock.api.mockito.PowerMockito.when;
/**
* Created by ji_pengyun on 17-7-19.
*/
@RunWith(PowerMockRunner.class)
@PrepareForTest({BusinessDataCompleteSummaryUtil.class, MessageHelper.class})
@PowerMockIgnore("javax.management.*")
public class BusinessDataCompleteSummaryUtilTest {
@Test
public void testBusinessDataCompleteSummar