### Question:
StudentController { @GetMapping public ResponseEntity<?> getStudents() { List<StudentResponseDto> students = studentService.getStudents(); return new ResponseEntity<>(students, HttpStatus.OK); }  @PostMapping ResponseEntity<?> addStudent(@ModelAttribute @Valid StudentRequestDto studentRequestDto); @GetMapping("/{studentId}") ResponseEntity<?> getStudent(@PathVariable(name = "studentId") Long studentId); @GetMapping ResponseEntity<?> getStudents(); @DeleteMapping("/{studentId}") ResponseEntity<?> deleteStudent(@PathVariable(name = "studentId") Long studentId);  }### Answer:
@Test void getStudents() throws Exception { this.mockMvc.perform(get(PATH)) .andDo(print()) .andExpect(status().isOk()) .andExpect(jsonPath("$").isArray()); }