public void HandleArrival(ArrivalEvent arrivalEvent) { Port = arrivalEvent.Port; }
public void ArrivalSetsShipsLocation() { ArrivalEvent ev = new ArrivalEvent(new DateTime(2005,11,1), sfo, kr); eventProcessor.Process(ev); Assert.AreEqual(sfo, kr.Port); }
public void Process(ArrivalEvent e) { e.Process (); log.Add (e); }
public void Process(ArrivalEvent e) { e.Process(); log.Add(e); }