### Question:
FontPackage { public Set<Font> getFontSet() { return mFontSet; } FontPackage(String name); private  FontPackage(File folder); static FontPackage fromFolder(File folder); String getName(); Set<Font> getFontSet(); Typeface getTypeface(Style style); Font getFont(Style style); static boolean validFontPackFolder(String path);  }### Answer:
@Test public void testCreateFontRemotePack_hasAllStyles() throws Exception { FontPackage fontPackage = new FontPackage(FONT_NAME); assertEquals(Style.values().length, fontPackage.getFontSet().size()); }
@Test public void testCreateFontRemotePack_hasValidUrls() throws Exception { FontPackage fontPackage = new FontPackage(FONT_NAME); Set<String> fontNames = from(fontPackage.getFontSet()) .map(Font::getUrl) .toList() .map(HashSet<String>::new) .toBlocking() .single(); assertTrue(fontNames.containsAll(EXPECTED_URLS)); }