GolangPathUtils { public String assetPath(final TokenMatcher.State state) { String module = module(state); String version = version(state); String extension = extension(state); String fullPath = String.format("%s/@v/%s.%s", module, version, extension); return fullPath; }  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 assetPath() { String assetPath = underTest.assetPath(state); assertThat(assetPath, is(equalTo("github.com/sonatype/example/@v/v1.0.2.zip"))); }