### Question:
ShadowResources { public int getColor(@ColorRes int id) throws NotFoundException { return getColor(id, null); } ShadowResources(); int getColor(@ColorRes int id); int getColor(@ColorRes int id, @Nullable Resources.Theme theme); String getString(@StringRes int id); @NonNull String[] getStringArray(@ArrayRes int id); @NonNull int[] getIntArray(@ArrayRes int id); String getPackageName();  }### Answer:
@Test public void getColor() throws Exception { int color = resources.getColor(R.color.my_color); int realColor = Color.parseColor("#47474d"); Assert.assertEquals(realColor, color); }