### Question:
ParentPathMapper implements PathMapper<T> { @Nonnull @Override public Path getPath(@Nullable T value, Path approvalFilePath) { return parentPath.resolve(approvalFilePath); } ParentPathMapper(Path parentPath); @Nonnull @Override Path getPath(@Nullable T value, Path approvalFilePath);  }### Answer:
@Test public void shouldReturnAPathThatWasResolvedFromParent() throws Exception { final Path path = new ParentPathMapper(Paths.get("parent")).getPath("someValue", Paths.get("subpath")); Assert.assertThat(path, CoreMatchers.equalTo(Paths.get("parent", "subpath"))); }