*/
@Test
public void testLogicalTrans() throws IOException, FlumeSpecException {
ConfigurationManager parent = new ConfigManager();
ConfigurationManager self = new ConfigManager();
StatusManager statman = new StatusManager();
ConfigurationManager trans = new LogicalConfigurationManager(parent, self,
statman);
// make it so that the local host info is present
statman.updateHeartbeatStatus("foo", "foo", "foo", NodeState.HELLO, Clock
.unixTime());
statman.updateHeartbeatStatus("bar", "bar", "bar", NodeState.HELLO, Clock
.unixTime());
// Next spawn so that all are mapped onto a node and now gets a physical
trans.addLogicalNode("foo", "foo");
trans.addLogicalNode("bar", "bar");