urbanairship-core/src/test/java/com/urbanairship/actions/OverlayRichPushMessageActionTest.java
@Test
    public void testAcceptsArgumentMessageId() {
        for (@Action.Situation int situation : acceptedSituations) {
            ActionArguments args = ActionTestUtils.createArgs(situation, "the_message_id");
            assertTrue("Should accept arguments in situation " + situation,
                    action.acceptsArguments(args));
        }

        for (@Action.Situation int situation : rejectedSituations) {
            ActionArguments args = ActionTestUtils.createArgs(situation, "the_message_id");
            assertFalse("Should reject arguments in situation " + situation,
                    action.acceptsArguments(args));
        }
    }
/**
     * Test accepts arguments with a message ID.
     */
Test accepts arguments with a message ID.
Test accepts arguments with a message ID .
@Test
    public void testAcceptsArgumentMessageId() {
        for (@Action.Situation int situation : acceptedSituations) {
            ActionArguments args = ActionTestUtils.createArgs(situation, "the_message_id");
            assertTrue("Should accept arguments in situation " + situation,
                    action.acceptsArguments(args));
        }
        for (@Action.Situation int situation : rejectedSituations) {
            ActionArguments args = ActionTestUtils.createArgs(situation, "the_message_id");
            assertFalse("Should reject arguments in situation " + situation,
                    action.acceptsArguments(args));
        }
    }
@ Test public void testAcceptsArgumentMessageId ( ) { for ( @ Action . Situation int situation : acceptedSituations ) { ActionArguments args = ActionTestUtils . createArgs ( situation , "the_message_id" ) ; assertTrue ( "Should accept arguments in situation " + situation , action . acceptsArguments ( args ) ) ; } for ( @ Action . Situation int situation : rejectedSituations ) { ActionArguments args = ActionTestUtils . createArgs ( situation , "the_message_id" ) ; assertFalse ( "Should reject arguments in situation " + situation , action . acceptsArguments ( args ) ) ; } }
Test accepts arguments with a message ID.
Test accepts arguments with a message ID .