SimpleInjectMockspressoPlugin implements MockspressoPlugin { @Override public Mockspresso.Builder apply(Mockspresso.Builder builder) { return builder.injector(new SimpleInjectionConfig()); }  @Override Mockspresso.Builder apply(Mockspresso.Builder builder);  }
@Test public void testInjectionConfigSet() { Mockspresso.Builder returnedBuilder = mPlugin.apply(mBuilder); verify(mBuilder).injector(any(SimpleInjectionConfig.class)); assertThat(returnedBuilder) .isNotNull() .isEqualTo(mBuilder); }