public void testSplitAndJoinMultiplePropertiesOnPipe(){
  Properties inner=PropertyUtils.splitPropertiesOnPipe(ONE_PIPE_TWO);
  assertEquals("hello",inner.getProperty("inner-1"));
  assertEquals("goodbye",inner.getProperty("inner-2"));
  assertEquals(2,inner.size());
  try {
    assertEquals(ONE_PIPE_TWO,PropertyUtils.joinOnPipe(PropertyUtils.toMap(inner)));
  }
 catch (  ComparisonFailure e) {
    assertEquals(TWO_PIPE_ONE,PropertyUtils.joinOnPipe(PropertyUtils.toMap(inner)));
  }
}

public void testSplitAndJoinMultiplePropertiesOnPipe ( ) { Properties inner = PropertyUtils . splitPropertiesOnPipe ( ONE_PIPE_TWO ) ; assertEquals ( "hello" , inner . getProperty ( "inner-1" ) ) ; assertEquals ( "goodbye" , inner . getProperty ( "inner-2" ) ) ; assertEquals ( 2 , inner . size ( ) ) ; try { assertEquals ( ONE_PIPE_TWO , PropertyUtils . joinOnPipe ( PropertyUtils . toMap ( inner ) ) ) ; } catch ( ComparisonFailure e ) { assertEquals ( TWO_PIPE_ONE , PropertyUtils . joinOnPipe ( PropertyUtils . toMap ( inner ) ) ) ; } }
test split and join of properties ( using pipe ) .
