Something went wrong. Try again.
Event Sourcing Framework on top of Microsoft Orleans and PostgreSQL
Something went wrong. Try again.
1234567891011121314151617using Flensrocker.EventSourcing.Abstractions;using Flensrocker.EventSourcing.Test.Utilities;using Flensrocker.ToDo.Abstractions;
namespace Flensrocker.ToDo.UnitTests;
internal static class ToDoTestUtilities{ internal static EventSourcingJsonSerializerOptions JsonOptions { get; } = new EventSourcingJsonSerializerOptions().AddToDoJsonOptions();
internal static void AssertJsonSerializable<TBase, TValue>(DomainResult<TValue> result) where TValue : TBase => TestUtilities.AssertJsonSerializable<TBase, TValue>(result, JsonOptions.Options);
internal static void AssertJsonSerializable<TValue>(DomainResult<TValue> result) => TestUtilities.AssertJsonSerializable(result, JsonOptions.Options);}