MockitoMockerConfig implements MockerConfig { @Override public List<Class<? extends Annotation>> provideMockAnnotations() { return Arrays.asList( Mock.class, Spy.class); }  @Override MockMaker provideMockMaker(); @Override FieldPreparer provideFieldPreparer(); @Override List<Class<? extends Annotation>> provideMockAnnotations();  }
@SuppressWarnings("unchecked") @Test public void testIncludedAnnotations() { assertThat(mMockitoConfig.provideMockAnnotations()) .contains( Spy.class, Mock.class); }