@Test(expected = IllegalStateException.class)
public void testCreateGeofenceAdapterTC2() {

    // when play service apk not available
    when(Utils.isFusedLocationApiDependencyAvailable()).thenReturn(true);
    when(googleApiAvailability.isGooglePlayServicesAvailable(application))
            .thenReturn(ConnectionResult.SERVICE_MISSING);
    CTGeofenceFactory.createGeofenceAdapter(application);
}