}
@Test
public void shouldUpdateDeploymentType() throws Throwable {
// pre-conditions
IApplication application = ApplicationTestUtils.getOrCreateApplication(domain);
String deploymentType = application.getDeploymentType();
String newDeploymentType = DeploymentTypes.switchType(deploymentType);
// operation
application.setDeploymentType(newDeploymentType);
// verifications
assertThat(application.getDeploymentType()).isEqualTo(newDeploymentType);
}