@Test
public void should_get_an_enabled_project() throws Exception {

    HudsonJob job = new HudsonJob();
    job.setDisabled(false);
    when(hudson.findJob(anyString())).thenReturn(job);
    SoftwareProjectId softwareProjectId = new SoftwareProjectId("projectId");
    boolean isDisabled = hudsonConnection.isProjectDisabled(softwareProjectId);
    assertFalse(isDisabled);
}