public final class ResourceCollectionMatchers extends Object
Modifier and Type | Method and Description |
---|---|
static org.hamcrest.Matcher<Collection<org.apache.sling.api.resource.Resource>> |
paths(String... paths)
Asserts that the given resource collection has resources with exactly the given paths in the given order.
|
public static org.hamcrest.Matcher<Collection<org.apache.sling.api.resource.Resource>> paths(String... paths)
paths
- the expected resource pathsCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.