@Test
public void shouldDetectJBossJTAStandaloneJTAManager() throws Exception {

    //JBoss JTA (Narayana) is used by default with the 'test' scope, so just test that the lookup picks this up by default
    TransactionManager transactionManager = txLookup.getTransactionManager();
    assertNotNull(transactionManager);
    assertTrue(transactionManager.getClass().getName().contains("arjuna"));
    transactionManager.begin();
    Transaction tx = transactionManager.getTransaction();
    assertNotNull(tx);
    tx.commit();
}