@Test public void correspondingJellyResource() throws Exception {

    assertEquals(null, JellyHyperlinkProvider.correspondingJellyResource(doc, offsetOf("iv align")));
    assertEquals("/lib/form/entry.jelly", JellyHyperlinkProvider.correspondingJellyResource(doc, offsetOf("ntry title=\"${")));
    assertEquals("/lib/form/entry.jelly", JellyHyperlinkProvider.correspondingJellyResource(doc, offsetOf("ntry title=\"\"")));
    assertEquals("/lib/form/repeatableDeleteButton.jelly", JellyHyperlinkProvider.correspondingJellyResource(doc, offsetOf("peatableD")));
    assertEquals("/lib/form/textbox.jelly", JellyHyperlinkProvider.correspondingJellyResource(doc, offsetOf("f:textbox")));
    assertEquals("/lib/hudson/project/config-trigger.jelly", JellyHyperlinkProvider.correspondingJellyResource(doc, offsetOf("trigger")));
    assertEquals(null, JellyHyperlinkProvider.correspondingJellyResource(doc, offsetOf("j:if")));
}