@isTest
private class TestClassTest {
    static testMethod void testMethod1() {
    	Map<String,String> valMap = new Map<String,String>();
    	valMap.put('a','1');
    	valMap.put('b','2');
    	valMap.put('c','3');
    	List<Map<String,String>> valList = new List<Map<String,String>>();
    	valList.add(valMap);
        Map<String,Object> mso = new Map<String,Object>();
        mso.put('records',valList);
        mso.put('code','1');
        mso.put('msg','test');

        Test.setMock(HttpCalloutMock.class, new TestDataUtility.BaseHttpMock(JSON.serialize(mso),'OK','200'));

        Test.startTest();
        TestClass.GetLayoutSections('修理','NewRepairLayout');
        TestClass.Foo();
        Test.stopTest();
    }
}