@Test
public void should_get_project_description() throws Exception {

    Resource resource = new Resource();
    resource.setLongName("description");
    when(sonarClient.findResource(anyString())).thenReturn(resource);
    SoftwareProjectId softwareProjectId = new SoftwareProjectId("projectId");
    String description = sonar.getDescription(softwareProjectId);
    assertEquals("description", description);
}