예제 #1
0
        public void Setup()
        {
            //Arrange
            _separationModule = Substitute.For <ISeparationModule>();
            _display          = Substitute.For <IDisplay>();

            _uut = new SeparationRender(_separationModule, _display);

            _trackOne = "TagOne";
            _trackTwo = "TagTwo";
        }
예제 #2
0
        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);
        }