Tests.ViewModelTests.should_raise_event C# (CSharp) Method

should_raise_event() private method

private should_raise_event ( ) : void
return void
        public void should_raise_event()
        {
            // arrange
            viewModel.MonitorEvents();

            // act
            Act();

            // assert
            viewModel.ShouldRaise("ResultChanged")
                .WithSender(viewModel)
                .WithArgs<EventArgs>(e => e == EventArgs.Empty);
        }