def METHOD_NAME(self, *args, **kwargs):
    parsed = self.parse_command_line(self._db, *args, **kwargs)
    for library in parsed.libraries:
        api_map = CirculationAPI(self._db, library).default_api_map
        api_map[ExternalIntegration.OPDS_IMPORT] = OPDSImportMonitor
        api_map[ExternalIntegration.FEEDBOOKS] = FeedbooksImportMonitor
        self.out.write("Testing %s\n" % library.name)
        for collection in library.collections:
            try:
                self.test_collection(collection, api_map)
            except Exception as e:
                self.out.write("  Exception while running self-test: '%s'\n" % e)