@Test
public void testSetParameters() {
String appName = TestPropertiesManager.getName(), teamName = TestPropertiesManager.getName(),
url = "http://www.test.com";
FrameworkType type = FrameworkType.SPRING_MVC;
RestResponse<Application> appRet = getClient().setParameters(
getApplicationId(teamName, appName, url).toString(),
type.toString(),
"http://repositoryUrl.com");
Application app = appRet.object;
assertTrue("Test was a failure.", appRet.success);
assertNotNull("Returned Application was null.", app);
assertTrue("Application frameworkType was " + app.getFrameworkType() + " instead of " +
type.getDisplayName(), app.getFrameworkTypeEnum() == type);
}