Class ProceduralContextBehaviorTests
Additional behavioral coverage for Serenity.ProceduralExpression.Domain.Entities.ProceduralContext beyond ProceduralContextTests: custom default for missing keys, that GetState forwards the supplied default through to the reader, and that the same reader instance is retained (no defensive copy of the dependency).
Inherited Members
Namespace: Serenity.ProceduralExpression.Tests.Domain
Assembly: Tests.dll
Syntax
public class ProceduralContextBehaviorTests
Constructors
ProceduralContextBehaviorTests()
Declaration
public ProceduralContextBehaviorTests()
Methods
GetState_ForwardsDefaultToReader()
Declaration
public void GetState_ForwardsDefaultToReader()
GetState_MissingKeyWithCustomDefault_ReturnsCustomDefault()
Declaration
public void GetState_MissingKeyWithCustomDefault_ReturnsCustomDefault()
GetState_NullReaderWithCustomDefault_ReturnsCustomDefault()
Declaration
public void GetState_NullReaderWithCustomDefault_ReturnsCustomDefault()
StateReader_RetainsSameInstance()
Declaration
public void StateReader_RetainsSameInstance()
Time_NonZero_ReflectsTimeInfo()
Declaration
public void Time_NonZero_ReflectsTimeInfo()