public TenroxClientResolver(ITenroxIdentityCache tenroxIdentityCache, ITenroxClientRepository clientRepository) { if (tenroxIdentityCache == null) throw new ArgumentNullException("tenroxIdentityCache"); if (clientRepository == null) throw new ArgumentNullException("clientRepository"); _tenroxIdentityCache = tenroxIdentityCache; _clientRepository = clientRepository; }
public void SetUp() { TenroxIdentityCache = new TenroxIdentityCacheBuilder().Build(); TenroxIdentityCache.LoadIdentity(new TenroxUserBuilder().Build()); }