@Test
public void should_get_description() throws Exception {

    TeamCityBuildType buildType = new TeamCityBuildType();
    buildType.setDescription("description");
    when(teamCity.findBuildType(anyString())).thenReturn(buildType);
    SoftwareProjectId softwareProjectId = new SoftwareProjectId("projectId");
    String description = teamCityConnection.getDescription(softwareProjectId);
    assertEquals("description", description);
}