This should be added to support multiple deployments feature of Arquillian.
It matters to the CoreDeployment and to the similar.
Currently, Deployment class decide what name the deployed archive would have. It uses the passed class object to determine this. In the particular test, one needs to pass some class, which would be part of the name. The good practice is to pass the name of the test class.
Here comes the problem with multiple deployments, when each deployed archive has to have different name.
Add overloaded constructor method, which would take a name for the deployed archive.