MockitoPlugin implements MockspressoPlugin { @Override public Mockspresso.Builder apply(Mockspresso.Builder builder) { assert Mockito.class != null; return builder.mocker(new MockitoMockerConfig()); }  @Override Mockspresso.Builder apply(Mockspresso.Builder builder);  }
@Test public void testConfigInstalled() { Mockspresso.Builder returnedBuilder = mPlugin.apply(mBuilder); verify(mBuilder).mocker(any(MockitoMockerConfig.class)); assertThat(returnedBuilder) .isNotNull() .isEqualTo(mBuilder); }