private IAndLocalRedirectTestBuilder ProcessRouteLambdaExpression <TController>(LambdaExpression actionCall) { RouteActionResultValidator.ValidateExpressionLink( this.TestContext, LinkGenerationTestContext.FromLocalRedirectResult(this.ActionResult), actionCall, this.ThrowNewRedirectResultAssertionException); return(this); }
private IAndCreatedTestBuilder ProcessRouteLambdaExpression <TController>(LambdaExpression actionCall) { this.createdAtExpression = actionCall; RouteActionResultValidator.ValidateExpressionLink( this.TestContext, LinkGenerationTestContext.FromCreatedResult(this.ActionResult), actionCall, this.ThrowNewCreatedResultAssertionException); return(this); }