@Test
public void thatCanGetDrawable(){

    Resources resources = mock(Resources.class);
    Drawable drawable = mock(Drawable.class);
    when(mContext.getResources()).thenReturn(resources);
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
        when(resources.getDrawable(android.R.drawable.alert_dark_frame,null)).thenReturn(drawable);
    }
    else{
        when(resources.getDrawable(android.R.drawable.alert_dark_frame)).thenReturn(drawable);
    }
    assertThat(HaloUtils.getDrawable(mContext, android.R.drawable.alert_dark_frame)).isNotNull();
    assertThat(HaloUtils.getDrawable(mContext, android.R.drawable.alert_dark_frame)).isEqualTo(drawable);
}