// Log
log.info("testDataSourceAndEntity");
// Create a virtual archive for DS, persistence.xml, Entity, and SLSB
final String name = "datasource-entity-test.jar";
final ArchivePath targetDsPath = ArchivePaths.create(FILENAME_EMBEDDED_DS);
final ArchivePath targetPersistencePath = ArchivePaths.create(PATH_DESTINATION_PERSISTENCE_XML);
final JavaArchive archive = ShrinkWrap.create(JavaArchive.class, name);
archive.addClasses(Jbossian.class, JbossianRegistrarLocalBusiness.class, JbossianRegistrarBean.class)
.addResource(PATH_RESOURCE_DS_XML_EMBEDDED, targetDsPath)
.addManifestResource(PATH_RESOURCE_PERSISTENCE_XML_EMBEDDED, targetPersistencePath);