urbanairship-core/src/test/java/com/urbanairship/analytics/CustomEventTest.java
@Test
    public void testInteractionIDExceedsMaxLength() {
        CustomEvent event = CustomEvent.newBuilder("event name")
                .setInteraction("interaction type", createFixedSizeString('a', 256))
                .build();

        assertFalse(event.isValid());
    }
/**
     * Test setting a interaction ID that is longer than 255 characters makes it invalid
     */
Test setting a interaction ID that is longer than 255 characters makes it invalid
Test setting a interaction ID that is longer than 255 characters makes it invalid
@Test
    public void testInteractionIDExceedsMaxLength() {
        CustomEvent event = CustomEvent.newBuilder("event name")
                .setInteraction("interaction type", createFixedSizeString('a', 256))
                .build();
        assertFalse(event.isValid());
    }
@ Test public void testInteractionIDExceedsMaxLength ( ) { CustomEvent event = CustomEvent . newBuilder ( "event name" ) . setInteraction ( "interaction type" , createFixedSizeString ( 'a' , 256 ) ) . build ( ) ; assertFalse ( event . isValid ( ) ) ; }
Test setting a interaction ID that is longer than 255 characters makes it invalid
Test setting a interaction ID that is longer than 255 characters makes it invalid