Class LogEntryBehaviorTests
Complementary behavioral tests for the Serenity.Logging.Domain.ValueObjects.LogEntry value object covering reference aliasing, default-of-struct behavior, and severity round-tripping.
Inherited Members
Namespace: Serenity.Logging.Tests.Domain
Assembly: Tests.dll
Syntax
public class LogEntryBehaviorTests
Constructors
LogEntryBehaviorTests()
Declaration
public LogEntryBehaviorTests()
Methods
Ctor_EmptyTagsDefault_IsSharedEmptyArrayInstance()
Declaration
public void Ctor_EmptyTagsDefault_IsSharedEmptyArrayInstance()
Ctor_ExceptionProvided_IsStoredByReference()
Declaration
public void Ctor_ExceptionProvided_IsStoredByReference()
Ctor_ExplicitUtc_IsPreservedExactly()
Declaration
public void Ctor_ExplicitUtc_IsPreservedExactly()
Ctor_PreservesSeverityValue()
Declaration
public void Ctor_PreservesSeverityValue()
Ctor_TagsArray_IsStoredByReference()
Declaration
public void Ctor_TagsArray_IsStoredByReference()
Default_StructInstance_HasNullReferenceFields()
Declaration
public void Default_StructInstance_HasNullReferenceFields()