### Question:
TeamMemberController { @GetMapping("/users/{userId}/projects/{projectId}/members") public List<TeamMember> getProjectMembers( @PathVariable Integer userId, @PathVariable Integer projectId) throws Exception { return teamMemberService.getProjectTeam(projectId); }  @GetMapping("/users/{userId}/projects/{projectId}/members") List<TeamMember> getProjectMembers(
            @PathVariable Integer userId, @PathVariable Integer projectId); @PostMapping("/users/{userId}/projects/{projectId}/members") void insertNewMemberIntoProject(
            @RequestBody String role, @PathVariable Integer userId, @PathVariable Integer projectId); @DeleteMapping("/users/{userId}/projects/{projectId}/members") void deleteTeamMember(@PathVariable Integer userId, @PathVariable Integer projectId);  }### Answer:
@WithMockUser("spring") @Test public void getProjectMembers() throws Exception { String url = "/users/1/projects/2/members"; mvc.perform(MockMvcRequestBuilders.get(url).accept(MediaType.APPLICATION_JSON)) .andExpect(status().isOk()) .andExpect( jsonPath("$.[*].username") .value(containsInAnyOrder("abcdef", "abcdefg", "abcdefgh"))); }