@Test
public void testGetPendingIntentWhenInstanceAlreadyExist1() {

    // when pendingIntent already exists in system then it should return existing one
    // instead of creating new (update + update)
    PendingIntent actual = PendingIntentFactory.getPendingIntent(application,
            PendingIntentFactory.PENDING_INTENT_GEOFENCE, PendingIntent.FLAG_UPDATE_CURRENT);
    PendingIntent actual1 = PendingIntentFactory.getPendingIntent(application,
            PendingIntentFactory.PENDING_INTENT_GEOFENCE, PendingIntent.FLAG_UPDATE_CURRENT);
    assertSame(actual, actual1);
}