Coverage Report - org.mule.example.loanbroker.bpm.activity.PrepareLoanQuoteRequest
 
Classes in this File Line Coverage Branch Coverage Complexity
PrepareLoanQuoteRequest
0%
0/5
N/A
1
 
 1  
 /*
 2  
  * $Id: PrepareLoanQuoteRequest.java 19191 2010-08-25 21:05:23Z tcarlson $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 10  
 
 11  
 package org.mule.example.loanbroker.bpm.activity;
 12  
 
 13  
 import org.mule.example.loanbroker.messages.CreditProfile;
 14  
 import org.mule.example.loanbroker.messages.CustomerQuoteRequest;
 15  
 import org.mule.example.loanbroker.messages.LoanBrokerQuoteRequest;
 16  
 
 17  
 /**
 18  
  * Prepares a loan request for the banks based on the original customer request and the customer's 
 19  
  * credit profile.
 20  
  */
 21  0
 public class PrepareLoanQuoteRequest
 22  
 {
 23  
     public static LoanBrokerQuoteRequest prepareRequest(CustomerQuoteRequest customerRequest, CreditProfile creditProfile)
 24  
     {  
 25  0
         LoanBrokerQuoteRequest loanRequest = new LoanBrokerQuoteRequest();
 26  0
         loanRequest.setCustomerRequest(customerRequest);
 27  0
         loanRequest.setCreditProfile(creditProfile);
 28  0
         return loanRequest;
 29  
     }
 30  
 }