urbanairship-core/src/test/java/com/urbanairship/analytics/CustomEventTest.java
@Test
    public void testNullEventName() {
        //noinspection ResourceType
        CustomEvent event = CustomEvent.newBuilder(null).build();
        assertFalse(event.isValid());
    }
/**
     * Test creating a custom event with a null event makes it invalid.
     */
Test creating a custom event with a null event makes it invalid.
Test creating a custom event with a null event makes it invalid .
@Test
    public void testNullEventName() {
        CustomEvent event = CustomEvent.newBuilder(null).build();
        assertFalse(event.isValid());
    }
@ Test public void testNullEventName ( ) { CustomEvent event = CustomEvent . newBuilder ( null ) . build ( ) ; assertFalse ( event . isValid ( ) ) ; }
Test creating a custom event with a null event makes it invalid.
Test creating a custom event with a null event makes it invalid .
//noinspection ResourceType