@isTest
private class QuestionnaireSurveyTriggerTest
{
	@isTest
	static void itShould()
	{
		Questionnaire_Survey__c csc = new Questionnaire_Survey__c();
		csc.Name = '*';
		csc.Questionnaire_user__c = UserInfo.getUserId();
		csc.Incharge_Hospital_Count__c = '①5家以下';
        csc.Incharge_Hospital_Location__c = '③ 全部是市内医院';
        csc.Incharge_Hospital_FarthestDistance__c = 222;
        csc.Incharge_Hospital_NearestDistance__c = 111;
        csc.Trip_Mode__c = '①出租车';
        csc.Trip_Mode_Other__c = 'Test';
        csc.Visit_efficiency_quality__c = '①上升';
        csc.Visit_efficiency_quality_Text__c = '①上升';
        csc.Other_Visitefficiency__c = '①上升';
        csc.Other_Visitefficiency_Text__c = '①上升';
        csc.Workeffectiveness_departments__c = '①上升';
        csc.Workeffectiveness_departments_Text__c = '①上升';
        csc.Traffic_subsidy_Status__c = '①完全满足';
        csc.Traffic_subsidy_balance__c = 222;
        csc.Most_satisfied__c = 'Test';
        csc.Most_dissatisfied__c = 'Test';
        csc.Accept_traffic__c = '①每月实报实销';
        csc.Traffic_expense_reason__c = 'Test';
        csc.Accept_GPS__c = '①能接受';
        csc.Traffic_subsidy_Opinion__c = 'Test';
        csc.TeamWork_efficiency__c = '①上升';
        csc.TeamWork_efficiency_Text__c = '①上升';
        insert csc;
        List<Questionnaire_Survey__c> qsList = [select id,name from Questionnaire_Survey__c];
        System.assertEquals(1, qsList.size());
	}
}