@Test(expected = RepeatedDependencyDefinedException.class)
public void testRepeatedDependencyBetweenDepAndRealObjMapping() {

  Set<DependencyKey> dependencyMapKeys = new HashSet<>();
  dependencyMapKeys.add(DependencyKey.of(String.class));
  Set<DependencyKey> realObjectMapKeys = new HashSet<>();
  realObjectMapKeys.add(DependencyKey.of(String.class));
  when(mDependencyMap.keySet()).thenReturn(dependencyMapKeys);
  when(mRealObjectMapping.keySet()).thenReturn(realObjectMapKeys);
  mResourceLifecycleFieldManager.setup(mMockspresso);
}