@GetMapping("/members/{id}")
    public ResponseEntity<FindMemberResponse> findMember(
            @AuthenticationPrinciple MemberDto memberDto, @PathVariable Long id
    ) {
        return ResponseEntity.ok(memberService.findMember(memberDto, id));
    }
@Test
    @DisplayName("회원 조회 성공")
    void findMemberSuccess() throws Exception {
        Member member = MemberFixture.memberFixture();
        FindMemberResponse response = FindMemberResponse.from(member);

        when(memberService.findMember(any(), any())).thenReturn(response);

        mvc.perform(get("/members/" + member.getId()))
                .andDo(print())
                .andExpect(status().isOk())
                .andExpect(jsonPath("$.name").value(member.getName()));
    }