final ConfigurationEntry virtualHostEntry = mock(ConfigurationEntry.class);
String typeName = VirtualHost.class.getSimpleName();
when(virtualHostEntry.getType()).thenReturn(typeName);
_brokerEntryChildren.put(typeName, Arrays.asList(virtualHostEntry));
final VirtualHost virtualHost = mock(VirtualHost.class);
when(virtualHost.getName()).thenReturn("test");
RecovererProvider recovererProvider = createRecoveryProvider(new ConfigurationEntry[] { virtualHostEntry, _authenticationProviderEntry1 },
new ConfiguredObject[] { virtualHost, _authenticationProvider1 });
Broker broker = _brokerRecoverer.create(recovererProvider, _brokerEntry);
assertNotNull(broker);