File tree Expand file tree Collapse file tree
src/MyTested.AspNetCore.Mvc.Controllers/Builders Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ public ActionResultTestBuilder(ControllerTestContext testContext)
2424 }
2525
2626 /// <inheritdoc />
27- public IShouldReturnTestBuilder < TActionResult > ShouldReturn ( )
27+ public IShouldReturnActionResultTestBuilder < TActionResult > ShouldReturn ( )
2828 {
2929 TestHelper . ExecuteTestCleanup ( ) ;
3030 InvocationValidator . CheckForException ( this . CaughtException , this . TestContext . ExceptionMessagePrefix ) ;
31- return new ShouldReturnTestBuilder < TActionResult > ( this . TestContext ) ;
31+ return new ShouldReturnActionResultTestBuilder < TActionResult > ( this . TestContext ) ;
3232 }
3333 }
3434}
Original file line number Diff line number Diff line change 11namespace MyTested . AspNetCore . Mvc . Builders . Contracts . Actions
22{
3- using Base ;
4- using CaughtExceptions ;
5-
63 /// <summary>
74 /// Used for testing the action and its result.
85 /// </summary>
@@ -12,7 +9,7 @@ public interface IActionResultTestBuilder<TActionResult> : IBaseActionResultTest
129 /// <summary>
1310 /// Used for testing returned action result.
1411 /// </summary>
15- /// <returns>Test builder of <see cref="IShouldReturnTestBuilder {TActionResult}"/>.</returns>
16- IShouldReturnTestBuilder < TActionResult > ShouldReturn ( ) ;
12+ /// <returns>Test builder of <see cref="IShouldReturnActionResultTestBuilder {TActionResult}"/>.</returns>
13+ IShouldReturnActionResultTestBuilder < TActionResult > ShouldReturn ( ) ;
1714 }
1815}
You can’t perform that action at this time.
0 commit comments