@Test
public void testGetDrawableWhenTypeValueIsNull() {

    TypedArray typedArray = mock(TypedArray.class);
    when(typedArray.peekValue(anyInt())).thenReturn(null);
    assertNull(ThemeUtil.getDrawable(getApplicationContext(), typedArray, anyInt()));
}