Java, Software Development, Spring

Spring MVC – How to test for view name

This post briefly demonstrates how to test for a view name in Spring MVC.

Stuff Used

  • Spring Boot 2.1.1.RELEASE
  • JDK 8


We have a single controller that maps to “/”.


Unit Test

You Might Also Like

Leave a Reply

Your email address will not be published. Required fields are marked *