LandingPageAction extends Action { @NonNull @Override public ActionResult perform(@NonNull ActionArguments arguments) { InAppAutomation inAppAutomation; try { inAppAutomation = inAppCallable.call(); } catch (Exception e) { return ActionResult.newErrorResult(e); } final Uri uri = parseUri(arguments); Checks.checkNotNull(uri, "URI should not be null"); inAppAutomation.schedule(createSchedule(uri, arguments)); return ActionResult.newEmptyResult(); } LandingPageAction(); @VisibleForTesting  LandingPageAction(@NonNull Callable<InAppAutomation> inAppCallable); @NonNull @Override ActionResult perform(@NonNull ActionArguments arguments); void setBorderRadius(@FloatRange(from = 0.0, to = 20.0) float borderRadius); float getBorderRadius(); @Override boolean acceptsArguments(@NonNull ActionArguments arguments); @NonNull
    static final String DEFAULT_REGISTRY_NAME; @NonNull
    static final String DEFAULT_REGISTRY_SHORT_NAME; @NonNull
    static final String URL_KEY; final static float DEFAULT_BORDER_RADIUS; }
@Test public void testPerform() { urlAllowList.addEntry("*"); verifyPerform("www.urbanairship.com", "https: verifyPerform("file: verifyPerform("https: verifyPerform("http: verifyPerform("message: Map<String, Object> payload = new HashMap<>(); payload.put("url", "http: verifyPerform(payload, "http: payload.put("url", "www.example.com"); verifyPerform(payload, "https: }