def METHOD_NAME(self):
    # Arrange
    missing_collection_name = 'missing-collection'
    license_id = 'e99be177-4902-426a-9b96-0872ae877e2f'
    expected_license = json.loads(fixtures.LCPSERVER_LICENSE)
    lcp_server = create_autospec(spec=LCPServer)
    lcp_server.get_license = MagicMock(return_value=expected_license)
    library = self.make_default_library(self._db)
    lcp_collection = self._collection(LCPAPI.NAME, ExternalIntegration.LCP)
    library.collections.append(lcp_collection)
    with patch('api.lcp.controller.LCPServerFactory') as lcp_server_factory_constructor_mock:
        lcp_server_factory = create_autospec(spec=LCPServerFactory)
        lcp_server_factory.create = MagicMock(return_value=lcp_server)
        lcp_server_factory_constructor_mock.return_value = lcp_server_factory
        patron = self.default_patron
        manager = CirculationManager(self._db, testing=True)
        controller = LCPController(manager)
        controller.authenticated_patron_from_request = MagicMock(return_value=patron)
        url = 'http://circulationmanager.org/{0}/licenses{1}'.format(
            missing_collection_name, license_id)
        with self.app.test_request_context(url):
            request.library = self._default_library
            # Act
            result = controller.get_lcp_license(missing_collection_name, license_id)
            # Assert
            assert result.status_code == 404