public List<Seat> createAutoIncrementSeats(
            Block block, Stadium stadium, Section section, List<BlockRow> rows) {
        List<Seat> seats = new ArrayList<>();

        int blockSeatNum = BLOCK_SEAT_START_NUM;
        for (BlockRow row : rows) {
            do {
                seats.add(
                        Seat.builder()
                                .stadium(stadium)
                                .section(section)
                                .block(block)
                                .row(row)
                                .seatNumber(blockSeatNum)
                                .build());
                blockSeatNum++;
            } while (blockSeatNum <= row.getMaxSeats());
        }
        return seats;
    }
@Test
    void 블록_열_정보가_주어졌을_때_자동으로_좌석을_채번할_수_있다() {
        // given
        Block block = Block.builder().id(1L).build();
        Stadium stadium = Stadium.builder().id(1L).build();
        Section section = Section.builder().id(1L).build();
        List<BlockRow> rows =
                new ArrayList<>(
                        List.of(
                                BlockRow.builder().number(1).maxSeats(10).build(),
                                BlockRow.builder().number(2).maxSeats(14).build(),
                                BlockRow.builder().number(3).maxSeats(18).build()));

        // when
        List<Seat> seats =
                createSeatService.createAutoIncrementSeats(block, stadium, section, rows);

        // then
        assertEquals(18, seats.size());
        IntStream.rangeClosed(1, 18)
                .forEach(i -> assertEquals(i, seats.get(i - 1).getSeatNumber()));
    }