@Test
public void testAddRemoveConfigurableAcceptor() throws Exception {
ConnectorService processorService = new MockConnectorService("test", Mockito.mock(Processor.class), resourceRegistry);
Acceptor configurableAcceptor = Mockito.mock(Acceptor.class,
Mockito.withSettings().extraInterfaces(Configurable.class));
processorService.addAcceptor(configurableAcceptor);
processorService.removeAcceptor(configurableAcceptor);