protected abstract class BaseTrainer.BaseWhen<R> extends Object
Modifier | Constructor and Description |
---|---|
protected |
BaseTrainer.BaseWhen() |
Modifier and Type | Method and Description |
---|---|
S |
then(Interceptor interceptor) |
S |
thenAnswer(ObjectProvider<? extends R> provider) |
S |
thenThrow(Exception e) |
S |
thenThrow(ObjectProvider<? extends Exception> provider) |
protected BaseTrainer.BaseWhen()
public S thenThrow(ObjectProvider<? extends Exception> provider)
public S thenAnswer(ObjectProvider<? extends R> provider)
public S then(Interceptor interceptor)
Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.