urbanairship-core/src/test/java/com/urbanairship/analytics/CustomEventTest.java
@Test
    public void testEventValueDoubleAboveMax() {
        CustomEvent event = CustomEvent.newBuilder("event name")
                .setEventValue(Integer.MAX_VALUE + .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 testEventValueDoubleAboveMax() {
        CustomEvent event = CustomEvent.newBuilder("event name")
                .setEventValue(Integer.MAX_VALUE + .000001)
                .build();
        assertFalse(event.isValid());
    }
@ Test public void testEventValueDoubleAboveMax ( ) { CustomEvent event = CustomEvent . newBuilder ( "event name" ) . setEventValue ( Integer . MAX_VALUE + .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 .