public class SimpleRetryExecutorTest extends Object
Modifier and Type | Field and Description |
---|---|
(package private) Callable<String> |
action |
(package private) Awaiter |
awaiter |
(package private) oghamcore.ut.core.retry.SimpleRetryExecutorTest.FooException |
failure |
org.mockito.junit.MockitoRule |
mockito |
(package private) RetryStrategyProvider |
provider |
(package private) SimpleRetryExecutor |
retryExecutor |
(package private) RetryStrategy |
strategy |
Constructor and Description |
---|
SimpleRetryExecutorTest() |
Modifier and Type | Method and Description |
---|---|
void |
firstInvocationWorks() |
void |
maxAttempsReached() |
void |
noRetryStrategyCallFails() |
void |
noRetryStrategyWorks() |
void |
setup() |
void |
thrirdInvocationWorks() |
public final org.mockito.junit.MockitoRule mockito
@Mock RetryStrategyProvider provider
@Mock RetryStrategy strategy
@Mock oghamcore.ut.core.retry.SimpleRetryExecutorTest.FooException failure
@Mock Awaiter awaiter
SimpleRetryExecutor retryExecutor
public void setup() throws WaitException
WaitException
Copyright © 2021. All rights reserved.