public class PathUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PathUtil.PathExpectation |
| Constructor and Description |
|---|
PathUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
assertViolationsContainOnlyPaths(Set<? extends javax.validation.ConstraintViolation<?>> actualViolations,
PathUtil.PathExpectation... paths)
Asserts that the given violations only contain the given expected
property paths.
|
static PathUtil.PathExpectation |
pathWith()
Creates a path expectation which can be configured using the offered
fluent API methods.
|
public static PathUtil.PathExpectation pathWith()
public static void assertViolationsContainOnlyPaths(Set<? extends javax.validation.ConstraintViolation<?>> actualViolations, PathUtil.PathExpectation... paths)
actualViolations - A set of constraint violations.paths - One or more expected property paths.Copyright © 2008–2017. All rights reserved.