public class DestinationAccessorMocker extends Object implements org.junit.rules.TestRule
Constructor and Description |
---|
DestinationAccessorMocker() |
Modifier and Type | Method and Description |
---|---|
DestinationAccessorMocker |
addNamedDestination(Destination destination)
Add a destination with "name" property.
|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
@Nonnull public DestinationAccessorMocker addNamedDestination(Destination destination)
destination
- The destination to add.@Nonnull public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
apply
in interface org.junit.rules.TestRule
Copyright © 2020 SAP SE. All rights reserved.