LandingPageAction extends Action { @Override public boolean acceptsArguments(@NonNull ActionArguments arguments) { switch (arguments.getSituation()) { case SITUATION_PUSH_OPENED: case SITUATION_WEB_VIEW_INVOCATION: case SITUATION_MANUAL_INVOCATION: case SITUATION_FOREGROUND_NOTIFICATION_ACTION_BUTTON: case SITUATION_AUTOMATION: Uri uri = parseUri(arguments); return uri != null; case Action.SITUATION_PUSH_RECEIVED: case Action.SITUATION_BACKGROUND_NOTIFICATION_ACTION_BUTTON: default: return false; } } 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 testAcceptsArguments() { verifyAcceptsArgumentValue("https: Map<String, Object> payload = new HashMap<>(); payload.put("url", "https: payload.put("cache_on_receive", true); verifyAcceptsArgumentValue(payload, true); }