public void IfAddedHeadersAreValid_IsInputValid_ShouldReturnTrue() { _editResponseViewModel.AddHeader(FakerWrapper.Faker.Lorem.Paragraph(), null); _editResponseViewModel.AddHeader(FakerWrapper.Faker.Lorem.Paragraph(), string.Empty); _editResponseViewModel.AddHeader(FakerWrapper.Faker.Lorem.Paragraph(), " \t "); using var monitor = _editResponseViewModel.Monitor(); _editResponseViewModel.AddHeader(FakerWrapper.Faker.Lorem.Paragraph(), FakerWrapper.Faker.Lorem.Paragraph()); var isInputValid = _editResponseViewModel.IsInputValid; isInputValid.Should().BeTrue(); monitor.Should().RaisePropertyChangeFor(viewModel => viewModel.IsInputValid); }