@Test
public void testResolve_UnlimitedKeyJCERequired(){

  List<ComponentInfo> components = createComponentInfo(2);
  ComponentInfo info = components.get(0);
  ComponentInfo parentInfo = components.get(1);
  //parent doesn't have it, child has it
  info.setUnlimitedKeyJCERequired(UnlimitedKeyJCERequirement.NEVER);
  assertSame(UnlimitedKeyJCERequirement.NEVER, resolveComponent(info, parentInfo).getModuleInfo().getUnlimitedKeyJCERequired());
}