new ResourceReferenceB());
HeaderItem bundleCD = Application.get()
.getResourceBundles()
.addJavaScriptBundle(Application.class, "cd.js", new ResourceReferenceC(),
new ResourceReferenceD());
aggregator.render(new PriorityHeaderItem(forReference(new ResourceReferenceB())));
aggregator.render(forReference(new ResourceReferenceD()));
assertItems(new PriorityHeaderItem(bundleAB), bundleCD);
}