@Test
public void should_get_an_enabled_project() throws Exception {

    Plan plan = new Plan();
    plan.setEnabled(true);
    when(bamboo.findPlan(anyString())).thenReturn(plan);
    SoftwareProjectId softwareProjectId = new SoftwareProjectId("projectId");
    boolean isDisabled = bambooConnection.isProjectDisabled(softwareProjectId);
    assertFalse(isDisabled);
}