return _store;
}
public void testGetRootEntry()
{
ConfigurationEntry brokerConfigEntry = _store.getRootEntry();
assertNotNull("Root entry does not exist", brokerConfigEntry);
assertEquals("Unexpected id", _brokerId, brokerConfigEntry.getId());
assertEquals("Unexpected type ", Broker.class.getSimpleName(), brokerConfigEntry.getType());
Map<String, Object> attributes = brokerConfigEntry.getAttributes();
assertNotNull("Attributes cannot be null", attributes);
for (Map.Entry<String, Object> attribute : _brokerAttributes.entrySet())
{
assertEquals("Unexpected attribute " + attribute.getKey(), attribute.getValue(), attributes.get(attribute.getKey()));
}