public void testSetProxiedElementsReasons() {
PolicyProxyElementDetails details =
new PolicyProxyElementDetails("imageComponent");
ProxyElementDetails.ChangeReason reason =
ProxyElementDetails.ATTRIBUTES;
JDOMFactory factory = new DefaultJDOMFactory();
ArrayList elements = new ArrayList();
Element element = factory.element("deviceImageAsset");
elements.add(element);
assertFalse("Should be false with an ATTRIBUTES reason.",
details.setProxiedElements(elements.iterator(), reason));