Skip to content

ClaimBuilder

Test-support builder/extension type used to construct in-memory repository fixtures for unit tests.*

Purpose

  • Supports building or extending fake/in-memory repositories for test scenarios.*

Context

  • Namespace: SAIF.Data.TestRepository.RepositoryBuilders
  • Assembly/package: SAIF.Data

Public members

Member Signature Purpose
ClaimType IClaimBuilder ClaimType(string claimType = ClaimTypeCode.NonDisablingClaimType, DateTime? effectiveDate = null) Performs the ClaimType operation.*
ClaimStatus IClaimBuilder ClaimStatus(string claimStatus = ClaimStatusCode.Open, DateTime? effectiveDate = null) Performs the ClaimStatus operation.*
ResponsibleAdjuster IClaimBuilder ResponsibleAdjuster(string code) Performs the ResponsibleAdjuster operation.*
Worker IClaimBuilder Worker(ClaimPerson worker) Performs the Worker operation.*
ClaimNumber IClaimBuilder ClaimNumber(string number, string checkValue) Performs the ClaimNumber operation.*
Policy IClaimBuilder Policy(long number, string name = null) Performs the Policy operation.*
ClaimBuilder(IUnitOfWork uow, long id = 0) ClaimBuilder(IUnitOfWork uow, long id = 0) Initializes a new instance of the type with the supplied dependencies.*

Inherited public members

Members in this section are inherited from Builder in SAIF.Data. They are available on this type through inheritance.

Member Signature Purpose Origin
Build T Build() Builds this operation's target.* SAIF.Data — Builder

Behavioral notes

  • No additional behavioral notes beyond the member purposes above could be confirmed from static analysis.**

Constraints and usage notes

  • No additional usage constraints beyond standard NHibernate entity/DTO conventions could be confirmed from static analysis.**

Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • Data/SAIF.Data/TestRepository/RepositoryBuilders/ClaimBuilder.cs