GearProfileTestUtils.getFirstAvailableGearProfile(domain),
"git://github.com/adietish/openshift-java-client.git");
// verification
mockDirector.verifyCreateApplication("foobarz", IHttpClient.NO_TIMEOUT,
new StringParameter(IOpenShiftJsonConstants.PROPERTY_NAME, "foo"),
new Parameter(IOpenShiftJsonConstants.PROPERTY_CARTRIDGES,
new ParameterValueArray()
.add(new ParameterValueMap().add(IOpenShiftJsonConstants.PROPERTY_NAME, JBOSSAS_7_NAME))),
new StringParameter(IOpenShiftJsonConstants.PROPERTY_SCALE, ApplicationScale.SCALE.getValue()),
new StringParameter(IOpenShiftJsonConstants.PROPERTY_GEAR_PROFILE, GearProfileTestUtils.getFirstAvailableGearProfile(domain).getName()),
new StringParameter(IOpenShiftJsonConstants.PROPERTY_INITIAL_GIT_URL, "git://github.com/adietish/openshift-java-client.git")
);
}