### Question:
DefaultManagedArtifact implements ManagedArtifact { public String getAbsolutePath() { return (artifactFile == null) ? "" : artifactFile.getAbsolutePath(); } DefaultManagedArtifact();   DefaultManagedArtifact(String pathName); @SuppressWarnings("unchecked") T getRequestParameters(); void initFromPath(String absolutePath); void initFromUploadedArtifact(UploadedArtifact uploaded); String getArtifactName(); byte[] getArtifactContents(); boolean matchesPathInfo(String pathInfo); boolean isExpired(); String getHttpContentType(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString(); String getAbsolutePath();  }### Answer:
@Test public void testPathInfo() { DefaultManagedArtifact managedArtifact = new DefaultManagedArtifact(artifactFileOnePath); String actual = managedArtifact.getAbsolutePath(); String expected = FilenameUtils.separatorsToSystem(SeLionConstants.SELION_HOME_DIR + "repository/userOne/DummyArtifact.any"); Assert.assertEquals(actual, expected); }