OriginLinkFormatter { public static String formatAsSpan(final Location location) { return format(location, true); } private  OriginLinkFormatter(); static String formatAsSpan(final Location location); static String formatAsBlock(final Location location);  }
@Test void testNullOrigin() { assertThat(formatAsSpan(null), equalTo("")); }
@Test void testEmptyOrigin() { assertThat(formatAsSpan(Location.create("", 1)), equalTo("")); }