{
// Override default configured class
ServiceLoader serviceLoader = Mockito.mock(ServiceLoader.class);
DeployableContainer<PrivateDummyContainerConfiguration> deployableContainer = Mockito.mock(DeployableContainer.class);
Mockito.when(serviceLoader.onlyOne(Mockito.same(DeployableContainer.class))).thenReturn(deployableContainer);
Mockito.when(deployableContainer.getConfigurationClass()).thenReturn(PrivateDummyContainerConfiguration.class);
String name = "some-name";
String prop = "prop-value";