logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class PersistenceServiceTests

    Behavioral tests for PersistenceService: delegation to the injected PersistenceUseCases, the constructor null guard, and the Id/Guid/LogService round-trip inherited from IService.

    Inheritance
    object
    PersistenceServiceTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Persistence.Tests.Application
    Assembly: Tests.dll
    Syntax
    public class PersistenceServiceTests

    Constructors

    PersistenceServiceTests()

    Declaration
    public PersistenceServiceTests()

    Methods

    AppendBytesAsync_DelegatesToUseCases()

    Declaration
    public Task AppendBytesAsync_DelegatesToUseCases()
    Returns
    Type Description
    Task

    Constructor_NullUseCases_ThrowsArgumentNullException()

    Declaration
    public void Constructor_NullUseCases_ThrowsArgumentNullException()

    IdGuidLogService_RoundTrip()

    Declaration
    public void IdGuidLogService_RoundTrip()

    LoadBytesAsync_DelegatesToUseCases()

    Declaration
    public Task LoadBytesAsync_DelegatesToUseCases()
    Returns
    Type Description
    Task

    LoadObjectAsync_DelegatesToUseCases()

    Declaration
    public Task LoadObjectAsync_DelegatesToUseCases()
    Returns
    Type Description
    Task

    SaveBytesAsync_DelegatesToUseCases()

    Declaration
    public Task SaveBytesAsync_DelegatesToUseCases()
    Returns
    Type Description
    Task

    SaveObjectAsync_DelegatesToUseCases()

    Declaration
    public Task SaveObjectAsync_DelegatesToUseCases()
    Returns
    Type Description
    Task
    In this article
    © 2026 Serenity. All Rights Reserved