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

org.mockito.mock.SerializableMode Maven / Gradle / Ivy

There is a newer version: 5.14.2
Show newest version
/*
 * Copyright (c) 2016 Mockito contributors
 * This program is made available under the terms of the MIT License.
 */
package org.mockito.mock;

/**
 * Mock serializable style.
 */
public enum SerializableMode {

    /**
     * No serialization.
     */
    NONE,

    /**
     * Basic serializable mode for mock objects. Introduced in Mockito 1.8.1.
     */
    BASIC,

    /**
     * Useful if the mock is deserialized in a different classloader / vm.
     */
    ACROSS_CLASSLOADERS
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy