// Path: impl/src/test/java/org/jboss/arquillian/container/weld/embedded/trace/TraceInterceptor.java
// @Interceptor @Trace
// public class TraceInterceptor {
// 
// 	public static List<String> called = new ArrayList<String>();
// 
// 	@AroundInvoke
// 	public Object manageTransaction(InvocationContext ctx) throws Exception {
// 		called.add(ctx.getMethod().getDeclaringClass().getSimpleName());
// 		return ctx.proceed();
// 	}
// }
// 
// Path: impl/src/test/java/org/jboss/arquillian/container/weld/embedded/trace/TracedBeanOne.java
// @Trace
// @Dependent
// public class TracedBeanOne {
// 
// 	public void call() {
// 	}
// }
// 
// Path: impl/src/test/java/org/jboss/arquillian/container/weld/embedded/trace/TracedBeanTwo.java
// @Trace
// @Dependent
// public class TracedBeanTwo {
// 
// 	public void call() {
// 	}
// }


import junit.framework.Assert;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.container.weld.embedded.trace.Trace;
import org.jboss.arquillian.container.weld.embedded.trace.TraceInterceptor;
import org.jboss.arquillian.container.weld.embedded.trace.TracedBeanOne;
import org.jboss.arquillian.container.weld.embedded.trace.TracedBeanTwo;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.asset.StringAsset;
import org.jboss.shrinkwrap.api.spec.JavaArchive;
import org.jboss.shrinkwrap.api.spec.WebArchive;
import org.junit.Test;
import org.junit.runner.RunWith;
package org.jboss.arquillian.container.weld.embedded;



@RunWith(Arquillian.class)
public class RemoveDuplicateBeanXmlTestCase {

	@Deployment
	public static WebArchive deploy() {
		String beansxml = "<beans><interceptors><class>" + TraceInterceptor.class.getName() + "</class></interceptors></beans>";

		return ShrinkWrap.create(WebArchive.class)
// Path: impl/src/test/java/org/jboss/arquillian/container/weld/embedded/trace/TraceInterceptor.java
// @Interceptor @Trace
// public class TraceInterceptor {
// 
// 	public static List<String> called = new ArrayList<String>();
// 
// 	@AroundInvoke
// 	public Object manageTransaction(InvocationContext ctx) throws Exception {
// 		called.add(ctx.getMethod().getDeclaringClass().getSimpleName());
// 		return ctx.proceed();
// 	}
// }
// 
// Path: impl/src/test/java/org/jboss/arquillian/container/weld/embedded/trace/TracedBeanOne.java
// @Trace
// @Dependent
// public class TracedBeanOne {
// 
// 	public void call() {
// 	}
// }
// 
// Path: impl/src/test/java/org/jboss/arquillian/container/weld/embedded/trace/TracedBeanTwo.java
// @Trace
// @Dependent
// public class TracedBeanTwo {
// 
// 	public void call() {
// 	}
// }


// Path: impl/src/test/java/org/jboss/arquillian/container/weld/embedded/RemoveDuplicateBeanXmlTestCase.java
import junit.framework.Assert;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.container.weld.embedded.trace.Trace;
import org.jboss.arquillian.container.weld.embedded.trace.TraceInterceptor;
import org.jboss.arquillian.container.weld.embedded.trace.TracedBeanOne;
import org.jboss.arquillian.container.weld.embedded.trace.TracedBeanTwo;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.asset.StringAsset;
import org.jboss.shrinkwrap.api.spec.JavaArchive;
import org.jboss.shrinkwrap.api.spec.WebArchive;
import org.junit.Test;
import org.junit.runner.RunWith;

package org.jboss.arquillian.container.weld.embedded;



@RunWith(Arquillian.class)
public class RemoveDuplicateBeanXmlTestCase {

	@Deployment
	public static WebArchive deploy() {
		String beansxml = "<beans><interceptors><class>" + TraceInterceptor.class.getName() + "</class></interceptors></beans>";

		return ShrinkWrap.create(WebArchive.class)
				.addClasses(Trace.class, TraceInterceptor.class, TracedBeanOne.class)