@Deployment
public static Archive<?> createDeployment() {
final File[] assertJ = Maven.resolver().loadPomFromFile("pom.xml")
.resolve("org.assertj:assertj-core")
.withTransitivity()
.asFile();
final JavaArchive archive = ShrinkWrap.create(JavaArchive.class, "employee-card-converter-sample.jar")
.addPackage(Employee.class.getPackage())
.addAsManifestResource("test-persistence.xml", "persistence.xml")
.merge(metaInfFolder(), "/META-INF", Filters.include(".*\\.sql"));
mergeDependencies(archive, assertJ);
return archive;
}