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

com.fitbur.mockito.internal.creation.bytebuddy.MockFeatures Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
package com.fitbur.mockito.internal.creation.bytebuddy;

import java.util.Collections;
import java.util.Set;

class MockFeatures {
    final Class mockedType;
    final Set> interfaces;
    final boolean crossClassLoaderSerializable;

    private MockFeatures(Class mockedType, Set> interfaces, boolean crossClassLoaderSerializable) {
        this.mockedType = mockedType;
        this.interfaces = Collections.unmodifiableSet(interfaces);
        this.crossClassLoaderSerializable = crossClassLoaderSerializable;
    }

    public static  MockFeatures withMockFeatures(Class mockedType, Set> interfaces, boolean crossClassLoaderSerializable) {
        return new MockFeatures(mockedType, interfaces, crossClassLoaderSerializable);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy