public boolean isLaunchIntentOfNotification(Intent intent) {
        return intent.getBooleanExtra(LAUNCH_FLAG_KEY_NAME, false);
    }
@Test
    public void isLaunchIntentOfNotification_hasFlagInBundle_returnTrue() throws Exception {
        Intent intent = mock(Intent.class);
        when(intent.getBooleanExtra(eq(LAUNCHED_FROM_NOTIF_BOOLEAN_EXTRA_NAME), eq(false))).thenReturn(true);

        final AppLaunchHelper uut = getUUT();
        boolean result = uut.isLaunchIntentOfNotification(intent);

        assertTrue(result);
    }