def test_delete_drink_success(
    drink_repository_mock,
    drink_id,
    drink_name,
    drink_image_url,
    drink_type,
):
    drink_repository_mock.delete_by_drink_id.return_value = None
    drink_application_service = DrinkApplicationService(
        drink_repository=drink_repository_mock)

    input_dto = DeleteDrinkInputDto(drink_id=str(drink_id))

    actual = drink_application_service.delete_drink(input_dto)
    expected = DeleteDrinkOutputDto()
    assert actual == expected
def test_delete_drink_fail(
    drink_repository_mock,
    drink_id,
    drink_name,
    drink_image_url,
    drink_type,
):
    drink_repository_mock.delete_by_drink_id.side_effect = ResourceNotFoundError(
    )
    drink_application_service = DrinkApplicationService(
        drink_repository=drink_repository_mock)

    input_dto = DeleteDrinkInputDto(drink_id=str(drink_id))

    actual = drink_application_service.delete_drink(input_dto)
    expected = FailedOutputDto(type="Resource Not Found Error", message="")
    assert actual == expected