org.mockito.internal.stubbing.defaultanswers
Class ReturnsEmptyValues

java.lang.Object
  extended by org.mockito.internal.stubbing.defaultanswers.ReturnsEmptyValues
All Implemented Interfaces:
Answer<java.lang.Object>

public class ReturnsEmptyValues
extends java.lang.Object
implements Answer<java.lang.Object>

Default answer of every Mockito mock.


Constructor Summary
ReturnsEmptyValues()
           
 
Method Summary
 java.lang.Object answer(InvocationOnMock invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReturnsEmptyValues

public ReturnsEmptyValues()
Method Detail

answer

public java.lang.Object answer(InvocationOnMock invocation)
Specified by:
answer in interface Answer<java.lang.Object>
Parameters:
invocation - the invocation on the mock.
Returns:
the value to be returned