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 /** 8 * Mock serializable style. 9 */ 10 public enum SerializableMode { 11 12 /** 13 * No serialization. 14 */ 15 NONE, 16 17 /** 18 * Basic serializable mode for mock objects. Introduced in Mockito 1.8.1. 19 */ 20 BASIC, 21 22 /** 23 * Useful if the mock is deserialized in a different classloader / vm. 24 */ 25 ACROSS_CLASSLOADERS 26 } 27