@Transactional
    public void deleteChecklistById(User user, long id) {
        Checklist checklist = checklistRepository.getById(id);
        validateChecklistOwnership(user, checklist);
        checklistQuestionRepository.deleteAllByChecklistId(checklist.getId());
        checklistOptionRepository.deleteAllByChecklistId(checklist.getId());
        checklistMaintenanceRepository.deleteAllByChecklistId(checklist.getId());
        checklistRepository.deleteById(id);
        roomRepository.deleteById(checklist.getRoom().getId());
    }
@DisplayName("체크리스트 삭제 실패 : 체크리스트 작성 유저와 삭제하려는 유저가 다른 경우")
    @Test
    void deleteChecklistById_notOwnedByUser_exception() {
        // given
        roomRepository.save(RoomFixture.ROOM_1);
        Checklist checklist = checklistRepository.save(ChecklistFixture.CHECKLIST1_USER1);

        // when & then
        assertThatThrownBy(
                () -> checklistService.deleteChecklistById(UserFixture.USER2, checklist.getId())
        )
                .isInstanceOf(BangggoodException.class)
                .hasMessage(ExceptionCode.CHECKLIST_NOT_OWNED_BY_USER.getMessage());
    }