### Question:
PluginConfigurationProcessor { @VisibleForTesting static Set<AbsoluteUnixPath> getVolumesSet(RawConfiguration rawConfiguration) throws InvalidContainerVolumeException { Set<AbsoluteUnixPath> volumes = new HashSet<>(); for (String path : rawConfiguration.getVolumes()) { try { AbsoluteUnixPath absoluteUnixPath = AbsoluteUnixPath.get(path); volumes.add(absoluteUnixPath); } catch (IllegalArgumentException exception) { throw new InvalidContainerVolumeException(path, path, exception); } } return volumes; }  static JibBuildRunner createJibBuildRunnerForDockerDaemonImage(
      RawConfiguration rawConfiguration,
      InferredAuthProvider inferredAuthProvider,
      ProjectProperties projectProperties,
      HelpfulSuggestions helpfulSuggestions); static JibBuildRunner createJibBuildRunnerForTarImage(
      RawConfiguration rawConfiguration,
      InferredAuthProvider inferredAuthProvider,
      ProjectProperties projectProperties,
      HelpfulSuggestions helpfulSuggestions); static JibBuildRunner createJibBuildRunnerForRegistryImage(
      RawConfiguration rawConfiguration,
      InferredAuthProvider inferredAuthProvider,
      ProjectProperties projectProperties,
      HelpfulSuggestions helpfulSuggestions); static String getSkaffoldSyncMap(
      RawConfiguration rawConfiguration, ProjectProperties projectProperties, Set<Path> excludes);  }### Answer:
@Test public void testGetValidVolumesList() throws InvalidContainerVolumeException { Mockito.when(rawConfiguration.getVolumes()).thenReturn(Collections.singletonList("/some/root")); Assert.assertEquals( ImmutableSet.of(AbsoluteUnixPath.get("/some/root")), PluginConfigurationProcessor.getVolumesSet(rawConfiguration)); }
@Test public void testGetInvalidVolumesList() { Mockito.when(rawConfiguration.getVolumes()).thenReturn(Collections.singletonList("`some/root")); try { PluginConfigurationProcessor.getVolumesSet(rawConfiguration); Assert.fail(); } catch (InvalidContainerVolumeException ex) { Assert.assertEquals("`some/root", ex.getMessage()); Assert.assertEquals("`some/root", ex.getInvalidVolume()); } }