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
Subclasses with type arguments of type UriAssert in org.springframework.test.webModifier and TypeClassDescriptionclassAssertJassertionsthat can be applied to aStringrepresenting a URI.Methods in org.springframework.test.web that return UriAssertModifier and TypeMethodDescriptionUriAssert.isEqualToTemplate(String uriTemplate, @Nullable Object... uriVars) Verify that the actual URI is equal to the URI built using the givenuriTemplateanduriVars.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.