public static Coupon createCoupon(
            final String name,
            final String content,
            final boolean canUseAlone,
            final boolean isDiscountPercentage,
            final int amount
    ) {
        validateAmountRange(isDiscountPercentage, amount);
        return Coupon.builder()
                .description(new Description(name, content))
                .policy(new Policy(canUseAlone, isDiscountPercentage, amount))
                .build();
    }
@Test
    void 할인율_쿠폰인_경우_생성시_할인_범위가_올바르지_않다면_예외를_발생시킨다() {
        // when & then
        assertThatThrownBy(() -> Coupon.createCoupon("coupon", "content", true, true, 300))
                .isInstanceOf(CouponAmountRangeInvalidException.class);
    }