@Test
public void testBuildRoutingKeyForAgent_Instance() {

	Instance inst = new Instance( "my-root" );
	Assert.assertNotNull( MessagingUtils.buildTopicNameForAgent( inst ));
	Assert.assertEquals(
			MessagingUtils.buildTopicNameForAgent( inst ),
			MessagingUtils.buildTopicNameForAgent( inst.getName()));
	Instance childInstance = new Instance( "child" );
	InstanceHelpers.insertChild( inst, childInstance );
	Assert.assertEquals(
			MessagingUtils.buildTopicNameForAgent( childInstance ),
			MessagingUtils.buildTopicNameForAgent( inst ));
}