Searched refs:Spy (Results 1 – 21 of 21) sorted by relevance
18 import org.mockito.Spy;36 @Spy39 @Spy42 @Spy45 @Spy69 @Spy in should_allow_spying_on_interfaces()82 @Spy in should_allow_spying_on_interfaces_when_instance_is_concrete()97 @Spy in should_report_when_no_arg_less_constructor()114 @Spy in should_report_when_constructor_is_explosive()129 @Spy in should_spy_abstract_class()[all …]
10 import org.mockito.Spy;25 @Spy54 @Spy59 @Spy
22 @Mock @Spy List<?> mock; in should_not_allow_Mock_and_Spy()29 MockitoAnnotations.initMocks(new Object() { @InjectMocks @Spy List<?> mock; }); in should_not_allow_Spy_and_InjectMocks_on_interfaces()40 @Spy in should_allow_Spy_and_InjectMocks()63 @Spy @Captor ArgumentCaptor<?> captor; in should_not_allow_Captor_and_Spy()
13 import org.mockito.Spy;40 @Spy @InjectMocks private SuperUnderTesting initializedSpy = new SuperUnderTesting();41 @Spy @InjectMocks private SuperUnderTesting notInitializedSpy;49 @Spy private TreeSet<String> searchTree = new TreeSet<String>();
9 import org.mockito.Spy;18 @Spy List<Object> spy = new LinkedList<Object>();
19 import org.mockito.Spy;44 @Spy @InjectMocks private ArticleManager spiedArticleManager;
105 class Spy(object): class134 spy = Spy()212 spy = Spy()224 spy = Spy()238 spy = Spy()247 spy = Spy()259 spy = Spy()269 spy = Spy()284 spy = Spy()296 spy = Spy()
11 import org.mockito.Spy;19 @Spy35 @Spy54 @Spy
10 import org.mockito.Spy;22 @Spy List<Integer> veryCoolSpy = new LinkedList<Integer>();
12 import org.mockito.Spy;28 @Spy private List<String> unrelatedList = new ArrayList<String>();
17 import org.mockito.Spy;52 … if (field.isAnnotationPresent(Spy.class) && !field.isAnnotationPresent(InjectMocks.class)) { in process()53 assertNoIncompatibleAnnotations(Spy.class, field, Mock.class, Captor.class); in process()
9 import org.mockito.Spy;35 if(!fieldReader.isNull() && field.isAnnotationPresent(Spy.class)) { in processInjection()
8 import org.mockito.Spy;79 return field.isAnnotationPresent(Spy.class) || field.isAnnotationPresent(Mock.class); in isAnnotatedByMockOrSpy()
11 import org.mockito.Spy;44 @Spy private CustomListener customListener;
12 import org.mockito.Spy;37 @Spy private Gork gork;
106 public @interface Spy { } annotation
1 0 8 #comment 0 1 edited with XML Spy v4.4 U (http://www.xmlspy.com) by Slava (GIVC)
3 SAX.comment( edited with XML Spy v4.4 U (http://www.xmlspy.com) by Slava (GIVC) )