async def METHOD_NAME(
    decoy: Decoy,
    mock_run_controller: RunController,
    mock_maintenance_engine_store: MaintenanceEngineStore,
) -> None:
    """It should clear an existing maintenance run before issuing play action."""
    run_id = "some-run-id"
    action_id = "some-action-id"
    created_at = datetime(year=2021, month=1, day=1)
    action_type = RunActionType.PLAY
    request_body = RequestModel(data=RunActionCreate(actionType=action_type))
    expected_result = RunAction(
        id="some-action-id",
        createdAt=created_at,
        actionType=RunActionType.PLAY,
    )
    decoy.when(mock_maintenance_engine_store.current_run_id).then_return("some-id")
    decoy.when(
        mock_run_controller.create_action(
            action_id=action_id,
            action_type=action_type,
            created_at=created_at,
        )
    ).then_return(expected_result)
    result = await create_run_action(
        runId=run_id,
        request_body=request_body,
        run_controller=mock_run_controller,
        action_id=action_id,
        created_at=created_at,
        maintenance_engine_store=mock_maintenance_engine_store,
    )
    decoy.verify(await mock_maintenance_engine_store.clear(), times=1)
    assert result.content.data == expected_result
    assert result.status_code == 201