@Test
public void should_get_a_disabled_project() throws Exception {

    TeamCityBuildType project = new TeamCityBuildType();
    project.setPaused(true);
    when(teamCity.findBuildType(anyString())).thenReturn(project);
    SoftwareProjectId softwareProjectId = new SoftwareProjectId("projectId");
    boolean isDisabled = teamCityConnection.isProjectDisabled(softwareProjectId);
    assertTrue(isDisabled);
}