All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mockito.internal.stubbing.answers.DoesNothing Maven / Gradle / Ivy

There is a newer version: 2.0.2-beta
Show newest version
/*
 * Copyright (c) 2007 Mockito contributors
 * This program is made available under the terms of the MIT License.
 */
package org.mockito.internal.stubbing.answers;

import java.io.Serializable;

import org.mockito.invocation.InvocationOnMock;
import org.mockito.stubbing.Answer;

public class DoesNothing implements Answer, Serializable {
    
    private static final long serialVersionUID = 4840880517740698416L;

    public Object answer(InvocationOnMock invocation) throws Throwable {
        return null;
    }
}