• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2007 Mockito contributors
3  * This program is made available under the terms of the MIT License.
4  */
5 package org.mockito.internal.stubbing.answers;
6 
7 import java.io.Serializable;
8 
9 import org.mockito.invocation.InvocationOnMock;
10 import org.mockito.stubbing.Answer;
11 
12 public class DoesNothing implements Answer<Object>, Serializable {
13 
14     private static final long serialVersionUID = 4840880517740698416L;
15 
answer(InvocationOnMock invocation)16     public Object answer(InvocationOnMock invocation) throws Throwable {
17         return null;
18     }
19 }