KemalIdentity::Testing::Harness
A service wired entirely to test doubles: a clock that only moves when a spec moves it, a seeded RNG, and in-memory repositories that pass the same contracts as PostgreSQL.
Constructors
new(clock : KemalIdentity::Testing::TestClock, random : KemalIdentity::Testing::DeterministicRandom, accounts : KemalIdentity::Testing::MemoryAccountRepository, sessions : KemalIdentity::Testing::MemorySessionRepository, service : KemalIdentity::Sessions::Service)
SourceInstance methods
accounts
clock
clone
Sourcecopy_with(clock _clock = @clock, random _random = @random, accounts _accounts = @accounts, sessions _sessions = @sessions, service _service = @service)
Sourcerandom
service
sessions