Uses of Class
org.springframework.test.web.UriAssert
Packages that use 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
Methods in org.springframework.test.web that return UriAssertModifier 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
Methods in org.springframework.test.web.servlet.assertj that return UriAssertModifier 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.