func appUnregistered(registry *registry.RouteRegistry, app *common.TestApp) bool { for _, url := range app.Urls() { pool := registry.Lookup(url) if pool != nil { return false } } return true }
func appUnregistered(routesUri string, app *common.TestApp) bool { routeFound, err := routeExists(routesUri, string(app.Urls()[0])) return err == nil && !routeFound }