Source/Events/EventSequenceAssertion.cs
/// <summary>
/// Asserts that an <see cref="IEvent" /> of the specified type is present anywhere in the stream, allowing further assertions against the instance.
/// </summary>
/// <returns>An EventValueAssertion{T} to allow assertions against the <see cref="IEvent" /> instance.</returns>
Asserts that an  of the specified type is present anywhere in the stream, allowing further assertions against the instance.
Asserts that an of the specified type is present anywhere in the stream allowing further assertions against the instance .
public EventValueAssertion<T> InStream()
        {
            var foundEvent = _events.OfType<T>().FirstOrDefault();
            foundEvent.ShouldNotBeNull();
            return new EventValueAssertion<T>(foundEvent);
        }
public EventValueAssertion < T > InStream ( ) { var foundEvent = _events . OfType < T > ( ) . FirstOrDefault ( ) ; foundEvent . ShouldNotBeNull ( ) ; return new EventValueAssertion < T > ( foundEvent ) ; }
Asserts that an  of the specified type is present anywhere in the stream, allowing further assertions against the instance.
Asserts that an of the specified type is present anywhere in the stream allowing further assertions against the instance .
An EventValueAssertion{T} to allow assertions against the  instance.
An EventValueAssertion { T } to allow assertions against the instance .