org.mockito.internal.creation.settings.CreationSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mockito-core Show documentation
Show all versions of mockito-core Show documentation
Mockito mock objects library core API and implementation
/*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockito.internal.creation.settings;
import org.mockito.listeners.InvocationListener;
import org.mockito.internal.listeners.StubbingLookupListener;
import org.mockito.mock.MockCreationSettings;
import org.mockito.mock.MockName;
import org.mockito.mock.SerializableMode;
import org.mockito.stubbing.Answer;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
public class CreationSettings implements MockCreationSettings, Serializable {
private static final long serialVersionUID = -6789800638070123629L;
protected Class typeToMock;
protected Set> extraInterfaces = new LinkedHashSet>();
protected String name;
protected Object spiedInstance;
protected Answer