Source/Events/EventValueAssertion.cs
/// <summary>
/// Asserts that the <see cref="IEvent" /> contains the specified values.
/// </summary>
/// <param name="expectedValues">A collection of values that you wish to assert should be present.</param>
Asserts that the  contains the specified values.
Asserts that the contains the specified values .
public void WithValues(params Func<T, bool>[] expectedValues)
        {
            foreach (var expectedValue in expectedValues)
            {
                expectedValue(_event).ShouldBeTrue();
            }
        }
public void WithValues ( params Func < T , bool > [ ] expectedValues ) { foreach ( var expectedValue in expectedValues ) { expectedValue ( _event ) . ShouldBeTrue ( ) ; } }
Asserts that the  contains the specified values.
Asserts that the contains the specified values .
expectedValues
A collection of values that you wish to assert should be present.
A collection of values that you wish to assert should be present .