AbstractMockspressoExtension implements MockspressoExtension<BLDR> { @NotNull @Override public BLDR buildUpon() { return mBuilderWrapper.wrap(mDelegate.buildUpon()); } protected  AbstractMockspressoExtension(
      @NotNull Mockspresso delegate,
      @NotNull Wrapper<Mockspresso.Builder, BLDR> builderWrapper); @NotNull @Override T create(@NotNull Class<T> clazz); @NotNull @Override T create(@NotNull TypeToken<T> typeToken); @Override void inject(@NotNull Object instance); @Override void inject(@NotNull T instance, @NotNull TypeToken<T> typeToken); @Override T getDependency(@NotNull DependencyKey<T> key); @NotNull @Override BLDR buildUpon();  }
@Test public void testMockspressoExtension_buildUpon() { TestMockspresso.Builder newBuilder = testMockspresso.buildUpon(); verify(mockspresso).buildUpon(); assertThat(newBuilder).isNotNull(); }
@Test public void testMockspressoExtensionRule_buildUpon() { TestMockspresso.Builder newBuilder = testMockspressoRule.buildUpon(); verify(mockspressoRule).buildUpon(); assertThat(newBuilder).isNotNull(); }