KemalIdentity::Testing::AccountHarness
A fully wired account service, on doubles throughout.
Constructors
new(clock : KemalIdentity::Testing::TestClock, accounts : KemalIdentity::Testing::MemoryAccountRepository, tokens : KemalIdentity::Testing::MemoryActionTokenRepository, sessions : KemalIdentity::Testing::MemorySessionRepository, session_service : KemalIdentity::Sessions::Service, remember_service : KemalIdentity::Sessions::RememberService, notifier : KemalIdentity::Testing::RecordingNotifier, hasher : KemalIdentity::Testing::FastTestHasher, service : KemalIdentity::Accounts::Service)
SourceInstance methods
accounts
clock
clone
Sourcecopy_with(clock _clock = @clock, accounts _accounts = @accounts, tokens _tokens = @tokens, sessions _sessions = @sessions, session_service _session_service = @session_service, remember_service _remember_service = @remember_service, notifier _notifier = @notifier, hasher _hasher = @hasher, service _service = @service)
Sourcehasher
notifier
remember_service
service
session_service
sessions
tokens