use of org.apache.qpid.server.management.plugin.ManagementController in project qpid-broker-j by apache.
the class PortControllerTest method setUp.
@Before
public void setUp() {
final LegacyManagementController legacyManagementController = mock(LegacyManagementController.class);
final ManagementController nextVersionManagementController = mock(ManagementController.class);
when(legacyManagementController.getNextVersionManagementController()).thenReturn(nextVersionManagementController);
_portController = new PortController(legacyManagementController, Collections.emptySet());
}
use of org.apache.qpid.server.management.plugin.ManagementController in project qpid-broker-j by apache.
the class SessionControllerTest method setUp.
@Before
public void setUp() {
_legacyManagementController = mock(LegacyManagementController.class);
final ManagementController nextVersionManagementController = mock(ManagementController.class);
when(_legacyManagementController.getNextVersionManagementController()).thenReturn(nextVersionManagementController);
_sessionController = new SessionController(_legacyManagementController, Collections.emptySet());
}
use of org.apache.qpid.server.management.plugin.ManagementController in project qpid-broker-j by apache.
the class LegacyCategoryControllerTest method setUp.
@Before
public void setUp() {
final LegacyManagementController legacyManagementController = mock(LegacyManagementController.class);
final ManagementController nextVersionManagementController = mock(ManagementController.class);
when(legacyManagementController.getNextVersionManagementController()).thenReturn(nextVersionManagementController);
_controller = new LegacyCategoryController(legacyManagementController, VirtualHostNode.TYPE, new String[] { BrokerController.TYPE }, null, Collections.emptySet());
}
use of org.apache.qpid.server.management.plugin.ManagementController in project qpid-broker-j by apache.
the class QueueControllerTest method setUp.
@Before
public void setUp() {
_legacyVersionManagementController = mock(LegacyManagementController.class);
final ManagementController nextVersionManagementController = mock(ManagementController.class);
when(_legacyVersionManagementController.getNextVersionManagementController()).thenReturn(nextVersionManagementController);
_queueController = new QueueController(_legacyVersionManagementController, Collections.emptySet());
}
use of org.apache.qpid.server.management.plugin.ManagementController in project qpid-broker-j by apache.
the class LegacyCategoryController_v8_0Test method setUp.
@Before
public void setUp() {
_nextVersionManagementController = mock(ManagementController.class);
LegacyManagementController managementController = mock(LegacyManagementController.class);
when(managementController.getNextVersionManagementController()).thenReturn(_nextVersionManagementController);
_controller = new LegacyCategoryController_v8_0(managementController, TEST_CATEGORY, PARENT_CATEGORY, DEFAULT_TYPE, Collections.emptySet());
_root = mock(ConfiguredObject.class);
}
Aggregations