@Test
public void testCheckOnlySinceLastBuild() throws CruiseControlException {

    project.setLastBuild("20030218010101");
    project.setLastSuccessfulBuild("20030218010101");
    assertEquals(false, project.checkOnlySinceLastBuild());
    project.setLastBuild("20030218020202");
    assertEquals(false, project.checkOnlySinceLastBuild());
    project.setBuildAfterFailed(false);
    assertEquals(true, project.checkOnlySinceLastBuild());
    project.setLastBuild("20030218010102");
    assertEquals(false, project.checkOnlySinceLastBuild());
    project.setLastBuild("20020101010101");
    assertEquals(false, project.checkOnlySinceLastBuild());
}