@Test
public void should_find_artifact_id() throws Exception {

    String pomUrl = fr.norad.visuwall.providers.common.ClasspathFiles.getAbsolutePathFile("pom-sample.xml");
    Document document = new fr.norad.visuwall.providers.common.DocumentLoader().loadFromUrl(pomUrl);
    when(documentLoader.loadFromUrl(anyString())).thenReturn(document);
    String artifactId = maven.findMavenIdFrom("test-project");
    assertEquals("fr.norad.visuwall:visuwall-hudsonclient", artifactId);
}