Modifier and Type | Method and Description |
---|---|
static @NotNull MockHelper |
MockHelper.create(@NotNull org.apache.sling.api.resource.ResourceResolver resolver)
Create a new helper
|
@NotNull MockHelper |
MockHelper.p(@NotNull String name,
@Nullable Object value)
Add a property to the current resource
|
@NotNull MockHelper |
MockHelper.resource(@NotNull String path)
Add a new resource.
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.