public void testSplitEscapedSemicolons(){
  Properties inner=PropertyUtils.splitPropertiesOnSemicolon(PropertyUtils.escapeBackSlashesIfNotNull("foo=bar;baz=blorple\\;zot;windows=c:\\test;glorg=gluux"));
  assertEquals(4,inner.size());
  assertEquals("bar",inner.getProperty("foo"));
  assertEquals("blorple;zot",inner.getProperty("baz"));
  assertEquals("gluux",inner.getProperty("glorg"));
  assertEquals("c:\\test",inner.getProperty("windows"));
}

public void testSplitEscapedSemicolons ( ) { Properties inner = PropertyUtils . splitPropertiesOnSemicolon ( PropertyUtils . escapeBackSlashesIfNotNull ( "foo=bar;baz=blorple\\;zot;windows=c:\\test;glorg=gluux" ) ) ; assertEquals ( 4 , inner . size ( ) ) ; assertEquals ( "bar" , inner . getProperty ( "foo" ) ) ; assertEquals ( "blorple;zot" , inner . getProperty ( "baz" ) ) ; assertEquals ( "gluux" , inner . getProperty ( "glorg" ) ) ; assertEquals ( "c:\\test" , inner . getProperty ( "windows" ) ) ; }
test split of escaped semicolons .
