@Test
public void should_not_return_update_needed_when_new_build_building_in_software() throws Exception {

    Project project = initProject("42", false, "43", true);
    String[] buildIdToUpdate = buildCapabilityProcess.updateStatusAndReturnBuildsToUpdate(project);
    Assert.assertArrayEquals(new String[] {}, buildIdToUpdate);
    Assert.assertTrue(project.getLastBuild().isBuilding());
    Assert.assertEquals("43", project.getLastBuildId());
    Mockito.verify(buildCapabilityProcess.scheduler).schedule(Matchers.any(Runnable.class),
            Matchers.any(Date.class));
}