urbanairship-core/src/test/java/com/urbanairship/analytics/CustomEventTest.java
@Test
    public void testEventValueStringAboveMax() {
        CustomEvent event = CustomEvent.newBuilder("event name")
                .setEventValue(String.valueOf(Integer.MAX_VALUE + 0.000001))
                .build();

        assertFalse(event.isValid());
    }
/**
     * Test setting event value above the max allowed makes the event invalid.
     */
Test setting event value above the max allowed makes the event invalid.
Test setting event value above the max allowed makes the event invalid .
@Test
    public void testEventValueStringAboveMax() {
        CustomEvent event = CustomEvent.newBuilder("event name")
                .setEventValue(String.valueOf(Integer.MAX_VALUE + 0.000001))
                .build();
        assertFalse(event.isValid());
    }
@ Test public void testEventValueStringAboveMax ( ) { CustomEvent event = CustomEvent . newBuilder ( "event name" ) . setEventValue ( String . valueOf ( Integer . MAX_VALUE + 0.000001 ) ) . build ( ) ; assertFalse ( event . isValid ( ) ) ; }
Test setting event value above the max allowed makes the event invalid.
Test setting event value above the max allowed makes the event invalid .