• Tutorials
  • Courses
  • Tracks

Question 8

Last Updated :
Discuss
Comments

In MockMvc, which method is used to validate HTTP status codes?

andExpect(status().isOk())

assertStatusOk()

verifyStatus(200)

expectStatusOk()

Share your thoughts in the comments