@Test
public void testUpdateWithOneLegAddsOneLegToSurvey() {

    Leg leg = new Leg(5, 0, 0);
    Survey survey = new Survey("Test Survey");
    SurveyUpdater.update(survey, leg);
    Assert.assertEquals(survey.getAllLegs().size(), 1);
}