Obligations { public static String getFontLicense() { return getResourceContents("/fonts/LICENSE-dejavu.txt"); }  static String getBlackenLicense(); static ResourceIdentifier getBlackenLicense(ResourceIdentifier resid); static String getBlackenNotice(); static ResourceIdentifier getBlackenNotice(ResourceIdentifier resid); static String getFontName(); static String getFontLicense(); static ResourceIdentifier getFontLicense(ResourceIdentifier resid);  }
@Test public void testGetFontLicense() { String result = Obligations.getFontLicense(); assertNotNull(result); assertTrue(result.contains("Bitstream Vera Fonts Copyright")); assertTrue(result.contains("Arev Fonts Copyright")); assertTrue(result.contains("DejaVu changes are in public domain.")); }