public Task <T> ExecuteQueryAsync <T>(IActivityMonitor monitor, SqlConnection connection, SqlTransaction transaction, SqlCommand cmd, Func <SqlCommand, CancellationToken, Task <T> > innerExecutor, CancellationToken cancellationToken = default(CancellationToken))
 {
     monitor.Should().BeSameAs(TestHelper.Monitor);
     connection.Should().NotBeNull();
     transaction.Should().BeNull("We don't have transaction here.");
     cmd.CommandText.Should().Be("some text");
     return(Task.FromResult(default(T)));
 }
 public T ExecuteQuery <T>(IActivityMonitor monitor, SqlConnection connection, SqlTransaction transaction, SqlCommand cmd, Func <SqlCommand, T> innerExecutor)
 {
     monitor.Should().BeSameAs(TestHelper.Monitor);
     connection.Should().NotBeNull();
     transaction.Should().BeNull("We don't have transaction here.");
     cmd.CommandText.Should().Be("some text");
     return(default(T));
 }