@isTest
private class NewQuoteEntryWebServiceTest {

	@isTest static void test_method_one() {
		Account user = new Account(
            Name = '*',
            FacilityName__c = 'user',
            PostCode__c = '123456'
        );
        insert user;

        Opportunity opp = new Opportunity(
            Name = 'test opp',
            AccountId = user.Id,
            StageName = 'Prospect Created',
            CurrencyIsoCode = 'CNY',
            ProductSegment__c = 'IE',
            CloseDate = Date.today(),
            NewInquiryDate__c = Date.today().addDays(-2),
            ExpectedOrderDate__c = Date.today().addDays(2),
            TradeType__c = 'Taxation',
            SalesChannel__c = 'direct',
            Machine_Parts__c = 'Machine'
        );
        insert opp;

        Quote quo = new Quote(
            Name = 'quo',
            OpportunityId = opp.Id,
            SetName1__c = 'setname01',
            SetQty1__c = 1
        );
        insert quo;

        Quote quo2 = new Quote(
            Name = 'quo',
            OpportunityId = opp.Id,
            SetName1__c = 'setname01',
            SetQty1__c = 1,
            Quote_Type__c = 'service'
        );
        insert quo2;

        NewQuoteEntryWebService.selectQuotation(opp.Id, quo.Id);
	}

}