Uses of Class
org.springframework.test.web.UriAssert
Package
Description
Helper classes for unit tests based on Spring's web support.
AssertJ support for MockMvc.
-
Uses of UriAssert in org.springframework.test.web
Modifier and TypeMethodDescriptionUriAssert.isEqualToTemplate
(String uriTemplate, Object... uriVars) Verify that the actual URI is equal to the URI built using the givenuriTemplate
anduriVars
.UriAssert.matchesAntPattern
(String uriPattern) Verify that the actual URI matches the given Ant-styleuriPattern
. -
Uses of UriAssert in org.springframework.test.web.servlet.assertj
Modifier and TypeMethodDescriptionAbstractMockHttpServletResponseAssert.forwardedUrl()
Return a new assertion object that uses the forwarded URL as the object to test.AbstractMockHttpServletResponseAssert.redirectedUrl()
Return a new assertion object that uses the redirected URL as the object to test.