@Test
public void testGetOutPullPullRequestFlow() {

    PMode validPMode = new PMode();
    validPMode.setMep(EbMSConstants.TWO_WAY_MEP);
    validPMode.setMepBinding(EbMSConstants.TWO_WAY_PULL_PULL);
    PartnerConfig responder = new PartnerConfig();
    validPMode.setResponder(responder);
    validPMode.addLeg(new Leg());
    PartnerConfig initiator = new PartnerConfig();
    validPMode.setInitiator(initiator);
    Leg leg = new Leg();
    Protocol protocolConfig = new Protocol();
    protocolConfig.setAddress("address");
    leg.setProtocol(protocolConfig);
    PullRequestFlow prFlow = new PullRequestFlow();
    leg.addPullRequestFlow(prFlow);
    validPMode.addLeg(leg);
    IPullRequestFlow requestFlow =
            PModeUtils.getOutPullRequestFlow(validPMode);
    assertNotNull(requestFlow);
}