Obligations { public static String getBlackenLicense() { return getResourceContents("LICENSE.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 testGetBlackenLicense() { String result = Obligations.getBlackenLicense(); assertNotNull(result); assertTrue(result.contains("Apache License") && result.contains("Version 2.0")); }