@Test
public void testMinimalValidPMode() {

    PMode validPMode = new PMode();
    validPMode.setMep(EbMSConstants.ONE_WAY_MEP);
    validPMode.setMepBinding(EbMSConstants.ONE_WAY_PUSH);
    validPMode.addLeg(new Leg());
    assertTrue(Utils.isNullOrEmpty(validator.validatePMode(validPMode)));
}