### Question:
AptUtils { public static boolean isInternalLink( String link ) { return ( !isExternalLink( link ) && !isLocalLink( link ) ); } private  AptUtils(); static String encodeFragment( String text ); static boolean isExternalLink( String link ); static boolean isInternalLink( String link ); static boolean isLocalLink( String link ); static String linkToKey( String text ); static String encodeAnchor( String id );  }### Answer:
@Test public void testIsInternalLink() { String link = "index.html"; assertTrue( "Should be an internal link: " + link, AptUtils.isInternalLink( link ) ); link = "file:/index.html"; assertFalse( "Should NOT be an internal link: " + link, AptUtils.isInternalLink( link ) ); link = "./index.html"; assertFalse( "Should NOT be an internal link: " + link, AptUtils.isInternalLink( link ) ); }