public class ConstantsAnswerMock extends Object implements org.mockito.stubbing.Answer
Constructor and Description |
---|
ConstantsAnswerMock() |
Modifier and Type | Method and Description |
---|---|
Object |
answer(org.mockito.invocation.InvocationOnMock invocation)
Mockito Answer to be used when mocking GWT constants classes.
|
public Object answer(org.mockito.invocation.InvocationOnMock invocation) throws Throwable
answer
in interface org.mockito.stubbing.Answer
invocation
- Throwable
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.