Ejemplo n.º 1
0
        public void Will_throw_Exception_if_is_given_null_instead_of_proper_awaiter_collection()
        {
            var exception = Record.Exception(() => new ResponseAwaiterDispatch(null));

            _output.AddMessageFrom(exception);

            Assert.IsType <ArgumentOutOfRangeException>(exception);
        }