PushIntentUtils { static String getTitle(Intent pushIntent) { return pushIntent.getStringExtra(EXTRA_TITLE); }    }
@Test public void getTitle() { String pushTitle = "push title"; Intent pushIntent = mock(Intent.class); mockPutExtra(pushIntent, PushIntentUtils.EXTRA_TITLE, pushTitle); String retrievedTitle = PushIntentUtils.getTitle(pushIntent); assertEquals(pushTitle, retrievedTitle); }