CONCEPT

Arrange, Act, Assert

Organizes a test around preparation, behavior and verification.

Formal Syntax & Structure

csharp syntaxcsharp
Arrange input; act by calling Fee; assert expected 5.

Working Example

Example Snippetcsharp
// Documentary fragment; see linked lesson for context.Arrange input; act by calling Fee; assert expected 5.
C# & .NET Reference