com.fitbur.mockito.internal.stubbing.defaultanswers.ForwardsInvocations Maven / Gradle / Ivy
/*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package com.fitbur.mockito.internal.stubbing.defaultanswers;
import static com.fitbur.mockito.exceptions.Reporter.delegatedMethodDoesNotExistOnDelegate;
import static com.fitbur.mockito.exceptions.Reporter.delegatedMethodHasWrongReturnType;
import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import com.fitbur.mockito.exceptions.Reporter;
import com.fitbur.mockito.invocation.Invocation;
import com.fitbur.mockito.invocation.InvocationOnMock;
import com.fitbur.mockito.stubbing.Answer;
/**
* Internal answer to forward invocations on a real instance.
*
* @since 1.9.5
*/
public class ForwardsInvocations implements Answer
© 2015 - 2024 Weber Informatics LLC | Privacy Policy