@Test
public void testLocationString()
{

   SimpleManagedResource root = createRootResource();

   SimpleManagedResource a = (SimpleManagedResource) root.registerSubResource("a", A_DESC);
   SimpleManagedResource a_1 = (SimpleManagedResource) a.registerSubResource("a-1", A_1_DESC);
   SimpleManagedResource a_1_1 = (SimpleManagedResource) a_1.registerSubResource("a-1-1", A_1_1_DESC);

   assertEquals("/a", a.getPath());
   assertEquals("/a/a-1", a_1.getPath());
   assertEquals("/a/a-1/a-1-1", a_1_1.getPath());
}