리팩터링이란? 실질적인 동작은 유지하면서, 구조만 정리하는 작업입니다. 실질적인 동작이 변하지 않았음을 확인할 수 있는 방법으로는 단위 테스트 등이 있습니다. 리팩터링 대상 코드는 아래와 같습니다.class PurchasePointPayment{ final CustomerId customerId; // 구매자의 ID final ComicId comicId; // 구매할 웹툰의 ID final PurchasePoint consumptionPoint; // 구매에 필요한 포인트 final LocalDateTime paymentDateTime; // 구매 일자 PurchasePointPayment(final Customer customer, final Comic comi..