@Test
public void testSetCtGeofenceEventsListener() {

    CTGeofenceEventsListener listener = new CTGeofenceEventsListener() {
        @Override
        public void onGeofenceEnteredEvent(JSONObject geofenceEnteredEventProperties) {
        }
        @Override
        public void onGeofenceExitedEvent(JSONObject geofenceExitedEventProperties) {
        }
    };
    CTGeofenceAPI ctGeofenceAPI = CTGeofenceAPI.getInstance(application);
    ctGeofenceAPI.setCtGeofenceEventsListener(listener);
    assertSame(listener, ctGeofenceAPI.getCtGeofenceEventsListener());
}