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