@PrepareForTest(value=LogUtils.class) @PowerMockIgnore(value={"javax.crypto.*","javax.management.*"}) public class RedisJsonFutureSpec_get extends Object
Modifier and Type | Field and Description |
---|---|
org.junit.rules.ExpectedException |
exceptionRule |
private Future<String> |
futureMock |
private RedisJsonFuture<Integer[]> |
redisJsonFuture |
private RedisService |
redisService |
Constructor and Description |
---|
RedisJsonFutureSpec_get() |
Modifier and Type | Method and Description |
---|---|
void |
negativeFlow_throwsExceptionIfFutureGetThrowsException() |
void |
positiveFlow_returnsExpectedValueIfFutureGetReturnsItsJsonRepresentation() |
void |
positiveFlow_returnsNullIfFutureGetReturnsNull() |
void |
setUp() |
private RedisService redisService
private RedisJsonFuture<Integer[]> redisJsonFuture
public org.junit.rules.ExpectedException exceptionRule
public void positiveFlow_returnsNullIfFutureGetReturnsNull() throws Exception
Exception
public void positiveFlow_returnsExpectedValueIfFutureGetReturnsItsJsonRepresentation() throws Exception
Exception