Class Arrange
- Namespace
- Mokkit.Arrange
- Assembly
- Mokkit.dll
Provides static factory methods for starting arrange operations in the AAA (Arrange-Act-Assert) pattern. This class serves as the entry point for creating arrange chains that set up test dependencies and state.
public static class ArrangeInheritance
Inherited Members
Methods
Start(TestStage)
Starts a new arrange operation from a test stage.
public static TestArrange Start(TestStage stage)Parameters
stageTestStage-
The test stage to start the arrange operation from.
Returns
- TestArrange
-
A new Mokkit.Arrange.TestArrange instance for chaining arrange operations.
Start(ArrangeAsyncFn)
Starts a new arrange operation with an asynchronous arrange function.
public static TestArrange Start(ArrangeAsyncFn arrangeFn)Parameters
arrangeFnArrangeAsyncFn-
The asynchronous arrange function to start with.
Returns
- TestArrange
-
A new Mokkit.Arrange.TestArrange instance for chaining arrange operations.
Start(ArrangeFn)
Starts a new arrange operation with a synchronous arrange function.
public static TestArrange Start(ArrangeFn arrangeFn)Parameters
arrangeFnArrangeFn-
The synchronous arrange function to start with.
Returns
- TestArrange
-
A new Mokkit.Arrange.TestArrange instance for chaining arrange operations.