urbanairship-core/src/test/java/com/urbanairship/analytics/AnalyticsTest.java
@Test
    public void testDisableAnalytics() {
        analytics.setEnabled(false);
        verify(mockEventManager).deleteEvents();
    }
/**
     * Test disabling analytics should start dispatch a job to delete all events.
     */
Test disabling analytics should start dispatch a job to delete all events.
Test disabling analytics should start dispatch a job to delete all events .
@Test
    public void testDisableAnalytics() {
        analytics.setEnabled(false);
        verify(mockEventManager).deleteEvents();
    }
@ Test public void testDisableAnalytics ( ) { analytics . setEnabled ( false ) ; verify ( mockEventManager ) . deleteEvents ( ) ; }
Test disabling analytics should start dispatch a job to delete all events.
Test disabling analytics should start dispatch a job to delete all events .