HelmPathUtils extends ComponentSupport { public String filename(final State state) { return match(state, "filename"); } @Inject  HelmPathUtils(final IndexYamlAbsoluteUrlRewriter urlRewriter); String filename(final State state); String contentFilePath(
      final State state,
      final boolean isForwardingSlash); @Nullable String contentFileUrl(
      final String filename,
      final Content indexYaml); String getChartName(final String filename); String getChartVersion(final String filename); String extension(final State state); State matcherState(final Context context); String buildAssetPath(final State matcherState); String buildContentAssetPath(final State matcherState);  }
@Test public void filename() throws Exception { Map<String, String> map = new HashMap<>(); map.put("filename", FILENAME); when(state.getTokens()).thenReturn(map); String result = underTest.filename(state); assertThat(result, is(equalTo(FILENAME))); }