public void SetupAuthenticationContext()
{
AuthenticationContext = new TestAuthenticationContext();
Container.Register(
Component.For<IUtcTimeTimeSource, DummyTimeSource>().Instance(DummyTimeSource.Now).LifestyleSingleton(),
Component.For<TestAuthenticationContext, IAuthenticationContext>()
.Instance(AuthenticationContext)
);
}
}