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