async def METHOD_NAME(
    auth: httpx.BasicAuth,
    client: httpx.AsyncClient,
    solver_key: str,
    solver_version: str,
    faker: Faker,
    mocked_backend: MockedBackendApiDict,
):
    # create Job
    resp = await client.post(
        f"/v0/solvers/{solver_key}/releases/{solver_version}/jobs",
        auth=auth,
        json=JobInputs(
            values={
                "x": 4.33,
                "n": 55,
                "title": "Temperature",
                "enabled": True,
            }
        ).dict(),
    )
    assert resp.status_code == status.HTTP_201_CREATED
    job = Job.parse_obj(resp.json())
    # Get metadata
    resp = await client.get(
        f"/v0/solvers/{solver_key}/releases/{solver_version}/jobs/{job.id}/metadata",
        auth=auth,
    )
    assert resp.status_code == status.HTTP_200_OK
    job_meta = JobMetadata.parse_obj(resp.json())
    assert job_meta.metadata == {}
    # Update metadata
    my_metadata = {"number": 3.14, "integer": 42, "string": "foo", "boolean": True}
    resp = await client.patch(
        f"/v0/solvers/{solver_key}/releases/{solver_version}/jobs/{job.id}/metadata",
        auth=auth,
        json=JobMetadataUpdate(metadata=my_metadata).dict(),
    )
    assert resp.status_code == status.HTTP_200_OK
    job_meta = JobMetadata.parse_obj(resp.json())
    assert job_meta.metadata == my_metadata
    # Get metadata after update
    resp = await client.get(
        f"/v0/solvers/{solver_key}/releases/{solver_version}/jobs/{job.id}/metadata",
        auth=auth,
    )
    assert resp.status_code == status.HTTP_200_OK
    job_meta = JobMetadata.parse_obj(resp.json())
    assert job_meta.metadata == my_metadata
    # Delete job
    resp = await client.delete(
        f"/v0/solvers/{solver_key}/releases/{solver_version}/jobs/{job.id}",
        auth=auth,
    )
    assert resp.status_code == status.HTTP_204_NO_CONTENT
    # Get metadata -> job not found!
    resp = await client.get(
        f"/v0/solvers/{solver_key}/releases/{solver_version}/jobs/{job.id}/metadata",
        auth=auth,
    )
    assert resp.status_code == status.HTTP_404_NOT_FOUND
    mock_webserver_router = mocked_backend["webserver"]
    assert mock_webserver_router
    assert mock_webserver_router["get_project_metadata"].called
    assert mock_webserver_router["update_project_metadata"].called
    assert mock_webserver_router["delete_project"].called