public void Setup() { //Arrange _separationModule = Substitute.For <ISeparationModule>(); _display = Substitute.For <IDisplay>(); _uut = new SeparationRender(_separationModule, _display); _trackOne = "TagOne"; _trackTwo = "TagTwo"; }
public void SetUp() { //Stubs _transponderReceiver = Substitute.For <ITransponderReceiver>(); _display = Substitute.For <IDisplay>(); _logger = Substitute.For <SWT35_ATM_Handin3.Interfaces.ILogger>(); //Real _airspace = new Airspace(); _factory = new Factory(_transponderReceiver); _filter = new Filter(_airspace, _factory); _update = new Update(_filter); _separationDetector = new SeparationDetector(_update, _logger); //UUT _uut = new SeparationRender(_separationDetector, _display); }