ResourcesLifecycleMockManager implements ResourcesLifecycleComponent { @Override public void setup(Mockspresso mockspresso) { for (TestResource resource : mTestResources) { mFieldPreparer.prepareFields(resource.getObjectWithResources()); } } ResourcesLifecycleMockManager(
      Collection<TestResource> testResources,
      MockerConfig.FieldPreparer fieldPreparer); @Override void setup(Mockspresso mockspresso); @Override void teardown();  }
@Test public void testPreparationOrder() { mResourcesLifecycleMockManager.setup(mMockspresso); InOrder inOrder = Mockito.inOrder(mFieldPreparer); for (int i = 0; i<mTestResources.size(); i++) { inOrder.verify(mFieldPreparer).prepareFields(mTestResources.get(i).getObjectWithResources()); } verifyNoMoreInteractions(mFieldPreparer); }