assertServiceBound(service.getName(), app);
}
public void testServiceUnBinding() throws Exception {
CloudService service = createService();
String prefix = "testServiceUnbinding";
createWebApplicationProject();
CloudFoundryApplicationModule appModule = assertDeployApplicationStartMode(prefix);
CloudApplication app = appModule.getApplication();
assertStopModule(appModule);
bindServiceToApp(app, service);
assertStartModule(appModule);
assertServiceBound(service.getName(), app);
assertStopModule(appModule);
unbindServiceToApp(app, service);
assertServiceNotBound(service.getName(), app);
}