### Question:
TypefaceUtil { public static void putFontDO(FontDO fontDO) { if (fontDO != null && !TextUtils.isEmpty(fontDO.getFontFamilyName())) { sCacheMap.put(fontDO.getFontFamilyName(), fontDO); } }  static void putFontDO(FontDO fontDO); static void registerNativeFont(Map<String, Typeface> fonts); static FontDO getFontDO(String fontFamilyName); static void removeFontDO(String fontFamilyName); static void applyFontStyle(Paint paint, int style, int weight, String family); static Typeface getOrCreateTypeface(String family, int style); static void loadTypeface(final FontDO fontDo); static final String FONT_CACHE_DIR_NAME; static final String ACTION_TYPE_FACE_AVAILABLE; }### Answer:
@Test public void testPutFontDO() throws Exception { FontDO font = new FontDO("test","url('local: TypefaceUtil.putFontDO(font); assertEquals(TypefaceUtil.getFontDO("test").getUrl(),"local: }