StaticResourceLoader { public static Icon getUpnpIcon(final UpnpIcon icon) throws IOException { return new Icon(icon.getMimeType(), icon.getSize(), icon.getSize(), icon.getDepth(), icon.getName(), getData(StaticResourceDir.UPNP, icon.getPath())); } private  StaticResourceLoader(); static byte[] getData(final StaticResourceDir resourceDir, final String fileName); static Icon getUpnpIcon(final UpnpIcon icon);  }
@Test public void testGetUpnpLargeIcon() throws IOException { Icon icon = getUpnpIcon(LARGE); assertNotNull(icon); }
@Test public void testGetUpnpSmallIcon() throws IOException { Icon icon = getUpnpIcon(SMALL); assertNotNull(icon); }