protected override void SetUp() { clock = NewMock<IClock>(); incidentChangeListener = NewMock<IIncidentChangeListener>(); incident = new Incident(clock, incidentChangeListener, "ID 1", 13, "Location", new DateTime(2009, 2, 1, 9, 30, 0), "Name", "Type", "Status", "Size", 150); }
protected override void SetUp() { clock = NewMock <IClock>(); incidentChangeListener = NewMock <IIncidentChangeListener>(); incident = new Incident(clock, incidentChangeListener, "ID 1", 13, "Location", new DateTime(2009, 2, 1, 9, 30, 0), "Name", "Type", "Status", "Size", 150); }
public Incident(IClock clock, IIncidentChangeListener changeListener, string incidentID, int region, string location, DateTime cfaIncidentTime, string name, string type, string status, string size, int appliances) { this.clock = clock; this.changeListener = changeListener; this.incidentID = incidentID; this.region = region; this.location = location; this.cfaIncidentTime = cfaIncidentTime; this.name = name; this.type = type; this.status = status; this.size = size; this.appliances = appliances; }
public IncidentFactory(IClock clock, IIncidentChangeListener incidentChangeListener) { this.clock = clock; this.incidentChangeListener = incidentChangeListener; }