@Test
public void urlsOnlyHaveToBeIdentifiedByASingleTagHandlerIfMultipleCanSupportTheSameContentPlugin() throws Exception {
given(brjs).hasNotYetBeenCreated()
.and(brjs).automaticallyFindsBundlerPlugins()
.and(brjs).hasContentPlugins( new ScriptedContentPlugin(false, "/used/url", "/unused/url") )
.and(brjs).hasTagHandlerPlugins( new ScriptedRequestGeneratingTagHandlerPlugin("tag1", Arrays.asList("ScriptedContentPlugin"), Arrays.asList()),
new ScriptedRequestGeneratingTagHandlerPlugin("tag2", Arrays.asList("ScriptedContentPlugin"), Arrays.asList("/used/url")) )
.and(brjs).hasBeenCreated()
.and( brjs.app("app1").defaultAspect() ).indexPageHasContent("<@tag1 @/> <@tag2 @/>")
.and(brjs).localeForwarderHasContents("")
.and( brjs.app("app1") ).hasBeenBuilt(targetDir);
then(targetDir).containsFile("used/url")