Add convenience function to AbstractManagedCDIIntegrationTest

Change-Id: I252004eb92cbd3bca59272e09f9116a2aae6bdcd