@Test
public void testPropertiesToString() throws Exception {

    Properties props = new Properties();
    for (int i = 0; i < 10; i++) {
        String key = "key" + i;
        String value = "value" + i;
        props.put(key, value);
    }
    String str = MarshallingSupport.propertiesToString(props);
    Properties props2 = MarshallingSupport.stringToProperties(str);
    assertEquals(props, props2);
}