}
public void testGetGavFromPomWithProperties() throws Exception {
StorageFileItem pomFileItem = getMockStorageFileItem("src/test/remote-repo/test/artifactusage/artifact-with-properties/1.0/artifact-with-properties-1.0.pom");
GAV artifact = ((DefaultArtifactUsageCalculator) this
.lookup(ArtifactUsageCalculator.class))
.getArtifactForStorageItem(pomFileItem);
assertNotNull(artifact);
assertEquals("test.artifactusage", artifact.getGroupId());
assertEquals("artifact-with-properties", artifact.getArtifactId());
assertEquals("${this-version}", artifact.getVersion());
}