@Test
public void testSetup() {

  mResourceLifecycleFieldManager.setup(mMockspresso);
  InOrder inOrder = Mockito.inOrder(mDependencyMap, mRealObjectMapping, mFieldImporter, mRealObjectFieldTracker);
  for (TestResource resource : mTestResources) {
    inOrder.verify(mFieldImporter).importAnnotatedFields(resource.getObjectWithResources());
    inOrder.verify(mRealObjectFieldTracker).scanNullRealObjectFields(resource.getObjectWithResources());
  }
  inOrder.verify(mDependencyMap).keySet();
  inOrder.verify(mRealObjectMapping).keySet();
  inOrder.verify(mRealObjectFieldTracker).applyValuesToFields();
  verifyNoMoreInteractions(mDependencyMap, mRealObjectMapping, mFieldImporter, mRealObjectFieldTracker);
}