Пример #1
0
        public void Verify_Exception_Thrown_On_Null()
        {
            var vbe = new Mock <IVBE>();

            Assert.That(() =>
            {
                var vbeEvents = VbeEvents.Initialize(vbe.Object);
            }, Throws.TypeOf <NullReferenceException>());
        }
Пример #2
0
        private static VbeEvents ArrangeVbeEvents()
        {
            var vbe = MockVbeBuilder.BuildFromSingleStandardModule("", "foo", out _);

            return(VbeEvents.Initialize(vbe.Object));
        }