@Test
public void testReadProperties() throws Exception {

	// Normal
	Logger logger = Logger.getLogger( getClass().getName());
	String s = "\np1: value1 \\ok\np2 = value2\n\n";
	Properties props = Utils.readPropertiesQuietly( s, logger );
	Assert.assertEquals( 2, props.size());
	Assert.assertEquals( "value1 ok", props.get( "p1" ));
	Assert.assertEquals( "value2", props.get( "p2" ));
	// Null string
	props = Utils.readPropertiesQuietly( null, logger );
	Assert.assertEquals( 0, props.size());
	// Check exceptions
	s = "";
	props = Utils.readPropertiesQuietly( s, logger );
	Assert.assertEquals( 0, props.size());
}