GolangPathUtils { public String listPath(final TokenMatcher.State state) { String module = module(state); return String.format("%s/@v/list", module); }  String module(final TokenMatcher.State state); String version(final TokenMatcher.State state); String extension(final TokenMatcher.State state); String assetPath(final TokenMatcher.State state); String listPath(final TokenMatcher.State state); String latestPath(final TokenMatcher.State state); TokenMatcher.State matcherState(final Context context); GolangAttributes getAttributesFromMatcherState(final TokenMatcher.State state);  }
@Test public void list() { String listPath = underTest.listPath(state); assertThat(listPath, is(equalTo("github.com/sonatype/example/@v/list"))); }