async def METHOD_NAME(
    decoy: Decoy,
    protocol_engine: ProtocolEngine,
) -> None:
    """It should raise a 404 if command is not found."""
    decoy.when(protocol_engine.state_view.commands.get("abc123")).then_raise(
        CommandDoesNotExistError("oh no")
    )
    with pytest.raises(ApiError) as exc_info:
        await get_command(commandId="abc123", engine=protocol_engine)
    assert exc_info.value.status_code == 404
    assert exc_info.value.content["errors"][0]["id"] == "StatelessCommandNotFound"