public void testSplitAndJoinMultiplePropertiesOnDot(){
  Properties inner=PropertyUtils.splitPropertiesOnDelimiter(ONE_DOT_TWO,'.');
  assertEquals("hello",inner.getProperty("inner-1"));
  assertEquals("goodbye",inner.getProperty("inner-2"));
  assertEquals(2,inner.size());
  try {
    assertEquals(ONE_DOT_TWO,PropertyUtils.joinOnDelimiter(PropertyUtils.toMap(inner),'.'));
  }
 catch (  ComparisonFailure e) {
    assertEquals(TWO_DOT_ONE,PropertyUtils.joinOnDelimiter(PropertyUtils.toMap(inner),'.'));
  }
}

public void testSplitAndJoinMultiplePropertiesOnDot ( ) { Properties inner = PropertyUtils . splitPropertiesOnDelimiter ( ONE_DOT_TWO , '.' ) ; assertEquals ( "hello" , inner . getProperty ( "inner-1" ) ) ; assertEquals ( "goodbye" , inner . getProperty ( "inner-2" ) ) ; assertEquals ( 2 , inner . size ( ) ) ; try { assertEquals ( ONE_DOT_TWO , PropertyUtils . joinOnDelimiter ( PropertyUtils . toMap ( inner ) , '.' ) ) ; } catch ( ComparisonFailure e ) { assertEquals ( TWO_DOT_ONE , PropertyUtils . joinOnDelimiter ( PropertyUtils . toMap ( inner ) , '.' ) ) ; } }
test split and join of properties ( using dot ) .
