}
@Test
public void testDeleteCompositeSource() {
deployStream("aCompositeStream", "compositesource | sink");
ModuleDefinitionService moduleDefinitionService = getAdminContext().getBean(
ModuleDefinitionService.class);
// Not actually used in test so ok for now
DetailedModuleDefinitionResourceAssembler assembler = mock(DetailedModuleDefinitionResourceAssembler.class);
ModulesController modulesController = new ModulesController(moduleDefinitionService, assembler);
try {