Table of Contents

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 Arrange

Inheritance

Inherited Members

Methods

Start(TestStage)

Starts a new arrange operation from a test stage.

public static TestArrange Start(TestStage stage)

Parameters

stage TestStage

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

arrangeFn ArrangeAsyncFn

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

arrangeFn ArrangeFn

The synchronous arrange function to start with.

Returns

TestArrange

A new Mokkit.Arrange.TestArrange instance for chaining arrange operations.