public class ForEachSystemRule extends Object implements org.junit.rules.TestRule
TestRule
for running a test with each specified TestSystem.Modifier and Type | Class and Description |
---|---|
static class |
ForEachSystemRule.FluentHelper
Helper class to allow fluent configuration of the
ForEachSystemRule . |
Constructor and Description |
---|
ForEachSystemRule(MockUtil mockUtil)
Constructor.
|
ForEachSystemRule(MockUtil mockUtil,
DestinationAccessorMocker destinationMocker) |
Modifier and Type | Method and Description |
---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
ForEachSystemRule.FluentHelper |
withSystem(String systemAlias)
Starts a new system configuration.
|
public ForEachSystemRule(@Nonnull MockUtil mockUtil)
mockUtil
- The MockUtil reference.public ForEachSystemRule(MockUtil mockUtil, DestinationAccessorMocker destinationMocker)
@Nonnull public ForEachSystemRule.FluentHelper withSystem(String systemAlias)
With the next using...
call on the returned FluentHelper
, systems configured since the last
using...
call will be used for the then specified destination.
systemAlias
- The alias of the next system to configure.FluentHelper
to configure the next system.Copyright © 2020 SAP SE. All rights reserved.