public void shouldCreateApplicationWithPhpAndDownloadableCartridge() throws Throwable {
// pre-conditions
ApplicationTestUtils.destroyAllApplications(domain);
String applicationName =
ApplicationTestUtils.createRandomApplicationName();
IStandaloneCartridge jbossAs = LatestVersionOf.php().get(user);
// operation
final IApplication app = domain.createApplication(
applicationName, jbossAs, ApplicationScale.NO_SCALE, GearProfileTestUtils.getFirstAvailableGearProfile(domain), null, CREATE_TIMEOUT,
CartridgeTestUtils.foreman063());