@Test
public void testGetArtifactThrowsException() throws GrapesCommunicationException, AuthenticationException {

    exc.expect(GrapesCommunicationException.class);
    exc.expectMessage("Failed to check do not use artifact");
    client.isMarkedAsDoNotUse("toto");
}