@Test
public void testResolve_UnlimitedKeyJCERequiredInheritance(){

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