NdsBeisEsb/src/test/java/com/northgateps/nds/beis/esb/registration/SaveRegisteredAccountDetailsRouteTest.java
/**
     * 
     * @param success indicates if a successful response is required
     * @param mockPartyRef - This is the party ref wanted in the mocked out response
     * @return
     */
@param success indicates if a successful response is required
@param mockPartyRef - This is the party ref wanted in the mocked out response
@return
@param success indicates if a successful response is required @param mockPartyRef - This is the party ref wanted in the mocked out response @return
private MaintainPartyDetailsResponse generateMockMaintainPartyDetailsResponse(Boolean success,
            String mockPartyRef) {
        MaintainPartyDetailsResponse response = new MaintainPartyDetailsResponse();
        response.setSuccess(success);
        response.setPartyRef(BigInteger.valueOf(Long.parseLong(mockPartyRef)));
        return response;
    }
private MaintainPartyDetailsResponse generateMockMaintainPartyDetailsResponse ( Boolean success , String mockPartyRef ) { MaintainPartyDetailsResponse response = new MaintainPartyDetailsResponse ( ) ; response . setSuccess ( success ) ; response . setPartyRef ( BigInteger . valueOf ( Long . parseLong ( mockPartyRef ) ) ) ; return response ; }
@param success indicates if a successful response is required
 @param mockPartyRef - This is the party ref wanted in the mocked out response
 @return
@param success indicates if a successful response is required @param mockPartyRef - This is the party ref wanted in the mocked out response @return