예제 #1
0
        public void OnStart_ScannerReturnsNull_DoNotThrow()
        {
            // given
            _scanner.Stub(x => x.ScanForMessageModules()).Return(null);

            // when
            TestDelegate onStartAction = () => _sut.OnStart();

            // then
            Assert.DoesNotThrow(onStartAction);
        }