@Test(expected = fr.norad.visuwall.providers.common.MavenIdNotFoundException.class)
public void should_not_find_artifact_id() throws Exception {

    when(documentLoader.loadFromUrl(anyString())).thenThrow(new fr.norad.visuwall.providers.common.DocumentNotLoadedException("file not found", null));
    maven.findMavenIdFrom("test-project");
}