src/Projac/Testing/ProjectionScenario.cs
/// <summary>
/// Builds a test specification using the specified verification method.
/// </summary>
/// <param name="verification">The verification method.</param>
/// <returns>A <see cref="ProjectionTestSpecification{TConnection}"/>.</returns>
/// <exception cref="System.ArgumentNullException">Thrown when <paramref name="verification"/> is <c>null</c>.</exception>
Builds a test specification using the specified verification method.
Builds a test specification using the specified verification method .
public ProjectionTestSpecification<TConnection> Verify(Func<TConnection, Task<VerificationResult>> verification)
        {
            if (verification == null) 
                throw new ArgumentNullException("verification");
            return new ProjectionTestSpecification<TConnection>(
                _resolver,
                _messages,
                (connection, token) => verification(connection));
        }
public ProjectionTestSpecification < TConnection > Verify ( Func < TConnection , Task < VerificationResult > > verification ) { if ( verification == null ) throw new ArgumentNullException ( " " ) ; return new ProjectionTestSpecification < TConnection > ( _resolver , _messages , ( connection , token ) => verification ( connection ) ) ; }
Builds a test specification using the specified verification method.
Builds a test specification using the specified verification method .
None
Thrown when  is null
Thrown when is null
verification
Func<TConnection, Task<VerificationResult>>
The verification method.
The verification method .