@Test public void getIcon() { String icon = "3"; Intent pushIntent = mock(Intent.class); mockPutExtra(pushIntent, PushIntentUtils.EXTRA_ICON, icon); String retrievedIcon = PushIntentUtils.getIcon(pushIntent); assertEquals(icon, retrievedIcon); }
static String getIcon(Intent pushIntent) { return pushIntent.getStringExtra(EXTRA_ICON); }
PushIntentUtils { static String getIcon(Intent pushIntent) { return pushIntent.getStringExtra(EXTRA_ICON); } }
PushIntentUtils { static String getIcon(Intent pushIntent) { return pushIntent.getStringExtra(EXTRA_ICON); }  }
PushIntentUtils { static String getIcon(Intent pushIntent) { return pushIntent.getStringExtra(EXTRA_ICON); }   }
PushIntentUtils { static String getIcon(Intent pushIntent) { return pushIntent.getStringExtra(EXTRA_ICON); }    }