public void createSetup()
{
registry = new LocalContainerRegistry(injector.get());
when(serviceLoader.onlyOne(eq(DeployableContainer.class))).thenReturn(deployableContainer);
ContainerDef suiteContainerDef = mock(ContainerDef.class);
when(suiteContainerDef.getContainerName()).thenReturn(MANAGED_SERVER_NAME);
when(suiteContainerDef.getMode()).thenReturn("suite");
ContainerDef manualContainerDef = Mockito.mock(ContainerDef.class);
when(manualContainerDef.getContainerName()).thenReturn(MANUAL_SERVER_NAME);
when(manualContainerDef.getMode()).thenReturn("manual");
ContainerDef customContainerDef = Mockito.mock(ContainerDef.class);
when(customContainerDef.getMode()).thenReturn("custom");
when(customContainerDef.getContainerName()).thenReturn(CUSTOM_SERVER_NAME);
registry.create(suiteContainerDef, serviceLoader);
registry.create(manualContainerDef, serviceLoader);
registry.create(customContainerDef, serviceLoader);