ResourcesLifecycleMethodManager implements ResourcesLifecycleComponent { @Override public void setup(Mockspresso mockspresso) { try { callBeforeMethods(mockspresso); } catch (InvocationTargetException | IllegalAccessException e) { throw new RuntimeException(e); } } ResourcesLifecycleMethodManager(
      Collection<TestResource> testResources); @Override void setup(Mockspresso mockspresso); @Override void teardown();  }
@Test public void testSetupOrder() { mResourcesLifecycleMethodManager.setup(mMockspresso); InOrder inOrder = Mockito.inOrder(getMocks()); inOrder.verify(testRes1.notifier).setup(); inOrder.verify(testRes2.notifier).setup(); inOrder.verify(testRes2.subclassNotifier).setup(mMockspresso); verifyNoMoreInteractions(getMocks()); }