@Test
public void testGetModifications() {

    MockModificationSet modSet = new MockModificationSet();
    Element modifications = modSet.retrieveModificationsAsElement(null, null);
    projectConfig.add(modSet);
    project.init();
    modSet.setModified(true);
    assertEquals(modifications, project.getModifications(false));
    assertEquals(modifications, project.getModifications(true));
    modSet.setModified(false);
    assertEquals(null, project.getModifications(false));
    assertEquals(modifications, project.getModifications(true));
    // TODO: need tests for when lastBuildSuccessful = false
}