• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2016 Mockito contributors
3  * This program is made available under the terms of the MIT License.
4  */
5 package org.mockito.mock;
6 
7 import org.mockito.Incubating;
8 
9 /**
10  * Mock serializable style.
11  */
12 @Incubating
13 public enum SerializableMode {
14 
15     /**
16      * No serialization.
17      */
18     NONE,
19 
20     /**
21      * Basic serializable mode for mock objects. Introduced in Mockito 1.8.1.
22      */
23     BASIC,
24 
25     /**
26      * Useful if the mock is deserialized in a different classloader / vm.
27      */
28     @Incubating
29     ACROSS_CLASSLOADERS
30 }
31