PowerMockitoRulePlugin implements MockspressoPlugin { @Override public Mockspresso.Builder apply(Mockspresso.Builder builder) { return builder.plugin(new PowerMockitoPlugin()) .outerRule(new PowerMockRule()); }  @Override Mockspresso.Builder apply(Mockspresso.Builder builder);  }
@Test public void testConfigInstalled() { Mockspresso.Builder returnedBuilder = mPlugin.apply(mBuilder); verify(mBuilder).plugin(any(PowerMockitoPlugin.class)); verify(mBuilder).outerRule(any(PowerMockRule.class)); assertThat(returnedBuilder) .isNotNull() .isEqualTo(mBuilder); }