@Test
public void testCountInstances() {

	Assert.assertEquals( 0, InstanceHelpers.countInstances( "" ));
	Assert.assertEquals( 0, InstanceHelpers.countInstances( "toto" ));
	Assert.assertEquals( 1, InstanceHelpers.countInstances( "/root-instance" ));
	Assert.assertEquals( 2, InstanceHelpers.countInstances( "/root-instance/apache" ));
	Assert.assertEquals( 3, InstanceHelpers.countInstances( "/root-instance/apache/war" ));
}