Lines Matching full:spy
114 * or spy using the usual spy API. Possible use cases:
123 * The difference with the regular spy:
126 * The regular spy ({@link Mockito#spy(Object)}) contains <strong>all</strong> state from the spied instance
127 * and the methods are invoked on the spy. The spied instance is only used at mock creation to copy the state from.
128 * If you call a method on a regular spy and it internally calls other methods on this spy, those calls are remembered
136 * Mock that delegates is less powerful than the regular spy but it is useful when the regular spy cannot be created.
150 * This feature suffers from the same drawback as the spy.