// operation
domain.createApplication("foo", CartridgeTestUtils.as7(), ApplicationScale.SCALE, GearProfileTestUtils.getFirstAvailableGearProfile(domain));
// 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())
);
}