@@ -34,7 +34,7 @@ namespace TestStack.BDDfy
3434 /// }
3535 /// </code>
3636 /// </example>
37- internal class FluentScanner < TScenario > : IInitialStep < TScenario > , IAndGiven < TScenario > , IAndWhen < TScenario > , IAndThen < TScenario >
37+ internal class FluentScanner < TScenario > : IInitialStep < TScenario > , IGiven < TScenario > , IWhen < TScenario > , IThen < TScenario >
3838 where TScenario : class
3939 {
4040 private readonly List < Step > _steps = new List < Step > ( ) ;
@@ -85,19 +85,19 @@ IThen<TScenario> IThenSteps<TScenario>.Then(Expression<Func<TScenario, Task>> th
8585 return this ;
8686 }
8787
88- IAndThen < TScenario > IThen < TScenario > . And ( Expression < Func < TScenario , Task > > andThenStep , string stepTextTemplate )
88+ IThen < TScenario > IThen < TScenario > . And ( Expression < Func < TScenario , Task > > andThenStep , string stepTextTemplate )
8989 {
9090 AddStep ( andThenStep , stepTextTemplate , true , ExecutionOrder . ConsecutiveAssertion ) ;
9191 return this ;
9292 }
9393
94- IAndThen < TScenario > IThen < TScenario > . And ( Expression < Func < TScenario , Task > > andThenStep , bool includeInputsInStepTitle )
94+ IThen < TScenario > IThen < TScenario > . And ( Expression < Func < TScenario , Task > > andThenStep , bool includeInputsInStepTitle )
9595 {
9696 AddStep ( andThenStep , null , true , ExecutionOrder . ConsecutiveAssertion , includeInputsInStepTitle : includeInputsInStepTitle ) ;
9797 return this ;
9898 }
9999
100- IAndWhen < TScenario > IWhen < TScenario > . And ( Expression < Func < TScenario , Task > > andWhenStep , bool includeInputsInStepTitle )
100+ IWhen < TScenario > IWhen < TScenario > . And ( Expression < Func < TScenario , Task > > andWhenStep , bool includeInputsInStepTitle )
101101 {
102102 AddStep ( andWhenStep , null , false , ExecutionOrder . ConsecutiveTransition , includeInputsInStepTitle : includeInputsInStepTitle ) ;
103103 return this ;
@@ -109,19 +109,19 @@ IThen<TScenario> IThenSteps<TScenario>.Then(Expression<Func<TScenario, Task>> th
109109 return this ;
110110 }
111111
112- IAndGiven < TScenario > IGiven < TScenario > . And ( Expression < Func < TScenario , Task > > andGivenStep , bool includeInputsInStepTitle )
112+ IGiven < TScenario > IGiven < TScenario > . And ( Expression < Func < TScenario , Task > > andGivenStep , bool includeInputsInStepTitle )
113113 {
114114 AddStep ( andGivenStep , null , false , ExecutionOrder . ConsecutiveSetupState , includeInputsInStepTitle : includeInputsInStepTitle ) ;
115115 return this ;
116116 }
117117
118- IAndGiven < TScenario > IGiven < TScenario > . And ( Expression < Func < TScenario , Task > > andGivenStep , string stepTextTemplate )
118+ IGiven < TScenario > IGiven < TScenario > . And ( Expression < Func < TScenario , Task > > andGivenStep , string stepTextTemplate )
119119 {
120120 AddStep ( andGivenStep , stepTextTemplate , false , ExecutionOrder . ConsecutiveSetupState ) ;
121121 return this ;
122122 }
123123
124- IAndWhen < TScenario > IWhen < TScenario > . And ( Expression < Func < TScenario , Task > > andWhenStep , string stepTextTemplate )
124+ IWhen < TScenario > IWhen < TScenario > . And ( Expression < Func < TScenario , Task > > andWhenStep , string stepTextTemplate )
125125 {
126126 AddStep ( andWhenStep , stepTextTemplate , false , ExecutionOrder . ConsecutiveTransition ) ;
127127 return this ;
@@ -242,7 +242,7 @@ IWhen<TScenario> IWhenSteps<TScenario>.When(Expression<Action<TScenario>> whenSt
242242 return this ;
243243 }
244244
245- IAndGiven < TScenario > IGiven < TScenario > . And ( Expression < Action < TScenario > > andGivenStep , bool includeInputsInStepTitle )
245+ IGiven < TScenario > IGiven < TScenario > . And ( Expression < Action < TScenario > > andGivenStep , bool includeInputsInStepTitle )
246246 {
247247 AddStep ( andGivenStep , null , false , ExecutionOrder . ConsecutiveSetupState , includeInputsInStepTitle : includeInputsInStepTitle ) ;
248248 return this ;
@@ -254,31 +254,31 @@ IThen<TScenario> IThenSteps<TScenario>.Then(Expression<Action<TScenario>> thenSt
254254 return this ;
255255 }
256256
257- IAndWhen < TScenario > IWhen < TScenario > . And ( Expression < Action < TScenario > > andWhenStep , bool includeInputsInStepTitle )
257+ IWhen < TScenario > IWhen < TScenario > . And ( Expression < Action < TScenario > > andWhenStep , bool includeInputsInStepTitle )
258258 {
259259 AddStep ( andWhenStep , null , false , ExecutionOrder . ConsecutiveTransition , includeInputsInStepTitle : includeInputsInStepTitle ) ;
260260 return this ;
261261 }
262262
263- IAndGiven < TScenario > IGiven < TScenario > . And ( Expression < Action < TScenario > > andGivenStep , string stepTextTemplate )
263+ IGiven < TScenario > IGiven < TScenario > . And ( Expression < Action < TScenario > > andGivenStep , string stepTextTemplate )
264264 {
265265 AddStep ( andGivenStep , stepTextTemplate , false , ExecutionOrder . ConsecutiveSetupState ) ;
266266 return this ;
267267 }
268268
269- IAndGiven < TScenario > IGiven < TScenario > . And ( Action andGivenStep , string title )
269+ IGiven < TScenario > IGiven < TScenario > . And ( Action andGivenStep , string title )
270270 {
271271 AddStep ( andGivenStep , title , false , ExecutionOrder . ConsecutiveSetupState ) ;
272272 return this ;
273273 }
274274
275- IAndGiven < TScenario > IGiven < TScenario > . And ( string title )
275+ IGiven < TScenario > IGiven < TScenario > . And ( string title )
276276 {
277277 AddStep ( ( ) => { } , title , false , ExecutionOrder . ConsecutiveSetupState ) ;
278278 return this ;
279279 }
280280
281- IAndThen < TScenario > IThen < TScenario > . And ( Expression < Action < TScenario > > andThenStep , bool includeInputsInStepTitle )
281+ IThen < TScenario > IThen < TScenario > . And ( Expression < Action < TScenario > > andThenStep , bool includeInputsInStepTitle )
282282 {
283283 AddStep ( andThenStep , null , true , ExecutionOrder . ConsecutiveAssertion , includeInputsInStepTitle : includeInputsInStepTitle ) ;
284284 return this ;
@@ -302,37 +302,37 @@ IThen<TScenario> IThenSteps<TScenario>.Then(string title)
302302 return this ;
303303 }
304304
305- IAndWhen < TScenario > IWhen < TScenario > . And ( Expression < Action < TScenario > > andWhenStep , string stepTextTemplate )
305+ IWhen < TScenario > IWhen < TScenario > . And ( Expression < Action < TScenario > > andWhenStep , string stepTextTemplate )
306306 {
307307 AddStep ( andWhenStep , stepTextTemplate , false , ExecutionOrder . ConsecutiveTransition ) ;
308308 return this ;
309309 }
310310
311- IAndThen < TScenario > IThen < TScenario > . And ( Expression < Action < TScenario > > andThenStep , string stepTextTemplate )
311+ IThen < TScenario > IThen < TScenario > . And ( Expression < Action < TScenario > > andThenStep , string stepTextTemplate )
312312 {
313313 AddStep ( andThenStep , stepTextTemplate , true , ExecutionOrder . ConsecutiveAssertion ) ;
314314 return this ;
315315 }
316316
317- IAndWhen < TScenario > IWhen < TScenario > . And ( Action andWhenStep , string title )
317+ IWhen < TScenario > IWhen < TScenario > . And ( Action andWhenStep , string title )
318318 {
319319 AddStep ( andWhenStep , title , false , ExecutionOrder . ConsecutiveTransition ) ;
320320 return this ;
321321 }
322322
323- IAndWhen < TScenario > IWhen < TScenario > . And ( string title )
323+ IWhen < TScenario > IWhen < TScenario > . And ( string title )
324324 {
325325 AddStep ( ( ) => { } , title , false , ExecutionOrder . ConsecutiveTransition ) ;
326326 return this ;
327327 }
328328
329- IAndThen < TScenario > IThen < TScenario > . And ( Action andThenStep , string title )
329+ IThen < TScenario > IThen < TScenario > . And ( Action andThenStep , string title )
330330 {
331331 AddStep ( andThenStep , title , true , ExecutionOrder . ConsecutiveAssertion ) ;
332332 return this ;
333333 }
334334
335- IAndThen < TScenario > IThen < TScenario > . And ( string title )
335+ IThen < TScenario > IThen < TScenario > . And ( string title )
336336 {
337337 AddStep ( ( ) => { } , title , true , ExecutionOrder . ConsecutiveAssertion ) ;
338338 return this ;
0 commit comments