public void Verify_Exception_Thrown_On_Null() { var vbe = new Mock <IVBE>(); Assert.That(() => { var vbeEvents = VbeEvents.Initialize(vbe.Object); }, Throws.TypeOf <NullReferenceException>()); }
private static VbeEvents ArrangeVbeEvents() { var vbe = MockVbeBuilder.BuildFromSingleStandardModule("", "foo", out _); return(VbeEvents.Initialize(vbe.Object)); }