GolangPathUtils { public String module(final TokenMatcher.State state) { return match(state, "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 module() { String module = underTest.module(state); assertThat(module, is(equalTo("github.com/sonatype/example"))); }